linux_dsm_epyc7002/drivers/scsi/mvsas
Arnd Bergmann af15769ffa scsi: mvsas: fix command_active typo
gcc-7 notices that the condition in mvs_94xx_command_active looks
suspicious:

drivers/scsi/mvsas/mv_94xx.c: In function 'mvs_94xx_command_active':
drivers/scsi/mvsas/mv_94xx.c:671:15: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context]

This was introduced when the mv_printk() statement got added, and leads
to the condition being ignored. This is probably harmless.

Changing '&&' to '&' makes the code look reasonable, as we check the
command bit before setting and printing it.

Fixes: a4632aae8b ("[SCSI] mvsas: Add new macros and functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-16 20:49:08 -05:00
..
Kconfig [SCSI] mvsas: Add support for interrupt tasklet 2011-07-26 12:59:55 +04:00
Makefile [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_64xx.c scsi: mvsas: Mark symbols static where possible 2016-09-26 21:15:55 -04:00
mv_64xx.h [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_94xx.c scsi: mvsas: fix command_active typo 2016-11-16 20:49:08 -05:00
mv_94xx.h mvsas: Add SGPIO support to Marvell 94xx 2016-01-06 15:18:49 -05:00
mv_chips.h Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_defs.h [SCSI] mvsas: fixed SMP request watchdog timeout issue. 2011-10-02 13:18:01 -05:00
mv_init.c mvsas: Generalize Marvell 9485 in pci_device_id 2016-04-15 16:53:11 -04:00
mv_sas.c scsi: mvsas: Mark symbols static where possible 2016-09-26 21:15:55 -04:00
mv_sas.h mvsas: Add SGPIO support to Marvell 94xx 2016-01-06 15:18:49 -05:00