aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>2018-01-23 08:51:03 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-02-14 09:43:22 -0800
commit0718e560a330599d15fddc37651d693c7a09e49e (patch)
tree7479205c930d75a9ba84a70f5ba7201a8788abd3 /tools/perf/scripts/python/bin
parenti40e: Service request to configure bandwidth for ADq on a VF (diff)
downloadlinux-0718e560a330599d15fddc37651d693c7a09e49e.tar.gz
linux-0718e560a330599d15fddc37651d693c7a09e49e.zip
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions