aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-05-20 12:56:05 -0700
committerDavid S. Miller <davem@davemloft.net>2022-05-22 22:21:11 +0100
commit9dec850fd7c210a04b4707df8e6c95bfafdd6a4b (patch)
treedc62dabe25feba498f78a3bc85f57d0cfaa7e0fe /tools/perf/scripts/python/syscall-counts-by-pid.py
parent385bc51b41ea74a91545600cb3d731754372f75e (diff)
eth: tg3: silence the GCC 12 array-bounds warning
GCC 12 currently generates a rather inconsistent warning: drivers/net/ethernet/broadcom/tg3.c:17795:51: warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ [-Warray-bounds] 17795 | struct tg3_napi *tnapi = &tp->napi[i]; | ~~~~~~~~^~~ i is guaranteed < tp->irq_max which in turn is either 1 or 5. There are more loops like this one in the driver, but strangely GCC 12 dislikes only this single one. Silence this silliness for now. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions