Re: [PATCH] mvsas: fix command_active typo

2016-11-16 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> gcc-7 notices that the condition in mvs_94xx_command_active looks Arnd> suspicious: Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] mvsas: fix command_active typo

2016-11-16 Thread Johannes Thumshirn
On Wed, Nov 16, 2016 at 04:08:34PM +0100, Arnd Bergmann wrote: > 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

[PATCH] mvsas: fix command_active typo

2016-11-16 Thread Arnd Bergmann
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