1. 29 Nov, 2016 6 commits
  2. 25 Nov, 2016 13 commits
  3. 22 Nov, 2016 4 commits
  4. 18 Nov, 2016 16 commits
  5. 17 Nov, 2016 1 commit
    • Arnd Bergmann's avatar
      scsi: mvsas: fix command_active typo · af15769f
      Arnd Bergmann authored
      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: a4632aae ("[SCSI] mvsas: Add new macros and functions")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      af15769f