1. 30 11月, 2016 6 次提交
  2. 25 11月, 2016 13 次提交
  3. 23 11月, 2016 2 次提交
  4. 22 11月, 2016 2 次提交
  5. 18 11月, 2016 16 次提交
  6. 17 11月, 2016 1 次提交
    • A
      scsi: mvsas: fix command_active typo · af15769f
      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 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: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      af15769f