linux/drivers/scsi/aacraid
Borislav Petkov 331c6e910f 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%2BtIH8GQpuct@zn.tnic for the gory
details as to why it triggers with older gccs only.

Link: https://lore.kernel.org/r/20220405151517.29753-2-bp@alien8.de
Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-04-25 23:23:05 -04:00
..
aachba.c scsi: aacraid: Move the SCSI pointer to private command data 2022-02-22 21:11:03 -05:00
aacraid.h scsi: aacraid: Fix undefined behavior due to shift overflowing the constant 2022-04-25 23:23:05 -04:00
commctrl.c
comminit.c scsi: aacraid: Move the SCSI pointer to private command data 2022-02-22 21:11:03 -05:00
commsup.c scsi: aacraid: Use scsi_cmd_to_rq() instead of scsi_cmnd.request 2021-08-11 22:25:38 -04:00
dpcsup.c
linit.c scsi: aacraid: Clean up some inconsistent indenting 2022-03-14 23:47:31 -04:00
Makefile
nark.c
rkt.c
rx.c
sa.c
src.c