diff options
| author | Sridhar Samudrala <[email protected]> | 2017-05-11 11:23:19 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-06-01 14:26:23 -0700 |
| commit | 73556269aab30c39cba9cf8efafc402d0deb87b2 (patch) | |
| tree | 60000d69a9c9971eb5861b53d860ec781e70cf70 /tools/perf/scripts/python/bin | |
| parent | a33c83c4353b2efc4d883bad06a86a9ba2dde4fc (diff) | |
virtchnl: Add compile time static asserts to validate structure sizes
This uses preprocessor tricks to make sure that a divide by zero
occurs if a struct changes size outside the expected number of
bytes.
Signed-off-by: Sridhar Samudrala <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions