SCSI fixes for 4.20-rc5
Subsystems (5)
James Bottomley
maintainerFour obvious bug fixes. The vmw_pscsi one is so old that it's amazing no-one noticed before now.
The patch is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes
The short changelog is:
Cathy Avery (1):
scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload
Dexuan Cui (1):
scsi: storvsc: Fix a race in sub-channel creation that can cause panic
Fred Herard (1):
scsi: libiscsi: Fix NULL pointer dereference in iscsi_eh_session_reset
Martin Wilck (1):
scsi: lpfc: fix block guard enablement on SLI3 adapters
And the diffstat:
drivers/scsi/libiscsi.c | 4 +-- drivers/scsi/lpfc/lpfc_init.c | 6 ++++- drivers/scsi/lpfc/lpfc_sli.c | 1 - drivers/scsi/storvsc_drv.c | 61 +++++++++++++++++++++---------------------- drivers/scsi/vmw_pvscsi.c | 4 +-- 5 files changed, 39 insertions(+), 37 deletions(-)
With full diff below.
James
---
drivers/scsi/libiscsi.c +2 -2
@@ -2416,8 +2416,8 @@ int iscsi_eh_session_reset(struct scsi_cmnd *sc) failed:ISCSI_DBG_EH (session,"failing session reset: Could not log back into " -"%s, %s [age %d]\n" , session->targetname, - conn->persistent_address, session->age); +"%s [age %d]\n" , session->targetname, + session->age);spin_unlock_bh (&session->frwd_lock);mutex_unlock (&session->eh_mutex);return FAILED ;
drivers/scsi/lpfc/lpfc_init.c +5 -1
@@ -167,7 +167,11 @@ lpfc_config_port_prep(struct lpfc_hba *phba) sizeof(phba->wwpn)); } - phba->sli3_options =0x0 ; +/* +* Clear all option bits except LPFC_SLI3_BG_ENABLED, +* which was already set in lpfc_get_cfgparam() +*/ + phba->sli3_options &= (uint32_t )LPFC_SLI3_BG_ENABLED ;/* Setup and issue mailbox READ REV command */ lpfc_read_rev (phba, pmb);
drivers/scsi/lpfc/lpfc_sli.c +0 -1
@@ -4965,7 +4965,6 @@ lpfc_sli_config_port(struct lpfc_hba *phba, int sli_mode) phba->sli3_options &= ~(LPFC_SLI3_NPIV_ENABLED |LPFC_SLI3_HBQ_ENABLED |LPFC_SLI3_CRP_ENABLED | -LPFC_SLI3_BG_ENABLED |LPFC_SLI3_DSS_ENABLED );if (rc !=MBX_SUCCESS ) { lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
drivers/scsi/storvsc_drv.c +30 -31
121 lines not on this page · raw message
drivers/scsi/vmw_pvscsi.c +2 -2
@@ -1202,8 +1202,6 @@ static void pvscsi_shutdown_intr(struct pvscsi_adapter *adapter)static void pvscsi_release_resources (struct pvscsi_adapter *adapter) { -pvscsi_shutdown_intr (adapter); -if (adapter->workqueue)destroy_workqueue (adapter->workqueue);
@@ -1534,6 +1532,7 @@ static int pvscsi_probe(struct pci_dev *pdev, const struct pci_device_id *id) out_reset_adapter:ll_adapter_reset (adapter); out_release_resources: +pvscsi_shutdown_intr (adapter);pvscsi_release_resources (adapter);scsi_host_put (host); out_disable_device:
@@ -1542,6 +1541,7 @@ static int pvscsi_probe(struct pci_dev *pdev, const struct pci_device_id *id)return error; out_release_resources_and_disable: +pvscsi_shutdown_intr (adapter);pvscsi_release_resources (adapter); goto out_disable_device; }
The pull request you sent on Thu, 06 Dec 2018 09:38:20 +0900:
The pull request you sent on Thu, 06 Dec 2018 09:38:20 +0900:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.gitscsi-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cf76c364a1e1e5224af80edf70a1e3023e1fcf8c
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker