aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2021-12-04 18:13:49 +0100
committerJakub Kicinski <[email protected]>2021-12-06 16:29:27 -0800
commit01081be1ea8cc123c96256ff0c975643cd862609 (patch)
tree5d473d4b5b1aa3883fbe4f5cbb38f8f1685e7f04 /tools/perf/scripts/python/intel-pt-events.py
parent5382911f5d67a5a13815fb6958265b4a11ff7cfd (diff)
net: prestera: replace zero-length array with flexible-array member
One-element and zero-length arrays are deprecated and should be replaced with flexible-array members: https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays Replace zero-length array with flexible-array member and make use of the struct_size() helper. Link: https://github.com/KSPP/linux/issues/78 Signed-off-by: José Expósito <[email protected]> Reviewed-by: Volodymyr Mytnyk <[email protected]> Tested-by: Volodymyr Mytnyk <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions