aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-06-10 11:23:05 -0700
committerKees Cook <[email protected]>2024-06-10 12:00:04 -0700
commit9dd5134c61580ba4c219296c37e08ff64c109a74 (patch)
tree36d6b9a4f206b3f6f6f2db48d2b5f508fecb5897 /tools/perf/scripts/python/export-to-postgresql.py
parentf7d3b1ffc654b0435ac2c9c02a72fb2752bdb0fd (diff)
kunit/overflow: Adjust for __counted_by with DEFINE_RAW_FLEX()
When a flexible array structure has a __counted_by annotation, its use with DEFINE_RAW_FLEX() will result in the count being zero-initialized. This is expected since one doesn't want to use RAW with a counted_by struct. Adjust the tests to check for the condition and for compiler support. Reported-by: Christian Schrefl <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Suggested-by: Nathan Chancellor <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Christian Schrefl <[email protected]> Reviewed-by: Christian Schrefl <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions