1. 29 11月, 2018 1 次提交
  2. 06 11月, 2018 1 次提交
    • A
      scsi: lpfc: fix remoteport access · f8d29432
      Arnd Bergmann 提交于
      The addition of a spinlock in lpfc_debugfs_nodelist_data() introduced
      a bug that lets us not skip NULL pointers correctly, as noticed by
      gcc-8:
      
      drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_nodelist_data.constprop':
      drivers/scsi/lpfc/lpfc_debugfs.c:728:13: error: 'nrport' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         if (nrport->port_role & FC_PORT_ROLE_NVME_INITIATOR)
      
      This changes the logic back to what it was, while keeping the added
      spinlock.
      
      Fixes: 9e210178 ("scsi: lpfc: Synchronize access to remoteport via rport")
      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>
      f8d29432
  3. 17 10月, 2018 4 次提交
  4. 16 10月, 2018 1 次提交
  5. 03 10月, 2018 1 次提交
  6. 21 9月, 2018 1 次提交
  7. 17 9月, 2018 1 次提交
  8. 12 9月, 2018 11 次提交
  9. 30 8月, 2018 1 次提交
  10. 28 8月, 2018 2 次提交
  11. 03 8月, 2018 8 次提交
  12. 31 7月, 2018 1 次提交
  13. 11 7月, 2018 7 次提交