aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2022-04-05 17:15:16 +0200
committerLeon Romanovsky <[email protected]>2022-04-06 10:15:03 +0300
commit0276bd3a94c072de3f69b5afe6224e488cc76635 (patch)
treef2c677e0c7a1d53dcad1973024b9ed7d5e3e0993 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent7a9104ea9011c0e15176c2951a97bda43c4beabf (diff)
IB/mlx5: Fix undefined behavior due to shift overflowing the constant
Fix: drivers/infiniband/hw/mlx5/main.c: In function ‘translate_eth_legacy_proto_oper’: drivers/infiniband/hw/mlx5/main.c:370:2: error: case label does not reduce to an integer constant case MLX5E_PROT_MASK(MLX5E_50GBASE_KR2): ^~~~ See https://lore.kernel.org/r/YkwQ6%[email protected] for the gory details as to why it triggers with older gccs only. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Borislav Petkov <[email protected]> Cc: Leon Romanovsky <[email protected]> Cc: Saeed Mahameed <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions