diff options
| author | Borislav Petkov <[email protected]> | 2022-04-05 17:15:07 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-04-25 23:23:05 -0400 |
| commit | 331c6e910f1acfcd854428241789431ebed65677 (patch) | |
| tree | e5ae2c309c1cebddaab339c7f9833a88bbcac358 /tools/perf/scripts/python/bin | |
| parent | 4a5fc1c6d75261f2f014a961d39ab10aae66a0f9 (diff) | |
scsi: aacraid: Fix undefined behavior due to shift overflowing the constant
Fix:
drivers/scsi/aacraid/commsup.c: In function ‘aac_handle_sa_aif’:
drivers/scsi/aacraid/commsup.c:1983:2: error: case label does not reduce to an integer constant
case SA_AIF_BPCFG_CHANGE:
^~~~
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/r/[email protected]
Cc: Adaptec OEM Raid Solutions <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: [email protected]
Reviewed-by: Randy Dunlap <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions