linux_dsm_epyc7002/include/linux/avf
Harshitha Ramamurthy 0718e560a3 virtchnl: Add a macro to check the size of a union
This patch adds a macro to check if the size of a union is correct.
It throws a divide by zero error if the union is not of the correct
size.

Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-02-14 09:43:22 -08:00
..
virtchnl.h virtchnl: Add a macro to check the size of a union 2018-02-14 09:43:22 -08:00