aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2022-04-05 15:15:09 +0000
committerJakub Kicinski <[email protected]>2022-04-06 19:05:48 +0000
commit8dd7cdb0f473407fdcd231c3eccef07371fd5e58 (patch)
tree316725b948672c737d0a483962070cfa6f348131 /tools/testing/selftests/bpf/prog_tests/recursion.c
parenttcp: add accessors to read/set tp->snd_cwnd (diff)
downloadkernel-8dd7cdb0f473407fdcd231c3eccef07371fd5e58.tar.gz
kernel-8dd7cdb0f473407fdcd231c3eccef07371fd5e58.zip
bnx2x: Fix undefined behavior due to shift overflowing the constant
Fix: drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function ‘bnx2x_check_blocks_with_parity3’: drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:4917:4: error: case label does not reduce to an integer constant case AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY: ^~~~ See https://lore.kernel.org/r/YkwQ6%[email protected] for the gory details as to why it triggers with older gccs only. Signed-off-by: Borislav Petkov <[email protected]> Cc: Ariel Elior <[email protected]> Cc: Sudarsana Kalluru <[email protected]> Cc: Manish Chopra <[email protected]> Cc: Paolo Abeni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions