aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/iscsi_boot_sysfs.c
diff options
context:
space:
mode:
authorTyler Stachecki <tstache1@binghamton.edu>2014-04-25 16:41:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-13 13:59:41 +0200
commit1ff13c4bf4b0e3d5c90fb8b130b92622eda32990 (patch)
treecc09883b06b03980411b08aea50cbec5043f4225 /drivers/scsi/iscsi_boot_sysfs.c
parentabf9fb59f0c3ac2c182dc6de2ef14c6fc33bc2de (diff)
mpt2sas: Don't disable device twice at suspend.
commit af61e27c3f77c7623b5335590ae24b6a5c323e22 upstream. On suspend, _scsih_suspend calls mpt2sas_base_free_resources, which in turn calls pci_disable_device if the device is enabled prior to suspending. However, _scsih_suspend also calls pci_disable_device itself. Thus, in the event that the device is enabled prior to suspending, pci_disable_device will be called twice. This patch removes the duplicate call to pci_disable_device in _scsi_suspend as it is both unnecessary and results in a kernel oops. Signed-off-by: Tyler Stachecki <tstache1@binghamton.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/iscsi_boot_sysfs.c')
0 files changed, 0 insertions, 0 deletions