mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:30:54 +07:00
af15769ffa
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mv_64xx.c | ||
mv_64xx.h | ||
mv_94xx.c | ||
mv_94xx.h | ||
mv_chips.h | ||
mv_defs.h | ||
mv_init.c | ||
mv_sas.c | ||
mv_sas.h |