aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2013-05-10 10:53:40 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-05-10 10:53:40 -0400
commit832e77bc1106592c621fc42f2f6a4500e414a0a1 (patch)
tree2b226019e7b1344f05e44d79da956a5306d20780 /drivers/scsi/megaraid
parente0fd9affeb64088eff407dfc98bbd3a5c17ea479 (diff)
parente689cf0caf2d5ebcb300fb69887d35c0abdbdb97 (diff)
Merge branch 'misc' into for-linus
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 7c90d57b867e..3a9ddae86f1f 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -4931,11 +4931,12 @@ static int megasas_mgmt_ioctl_fw(struct file *file, unsigned long arg)
4931 printk(KERN_ERR "megaraid_sas: timed out while" 4931 printk(KERN_ERR "megaraid_sas: timed out while"
4932 "waiting for HBA to recover\n"); 4932 "waiting for HBA to recover\n");
4933 error = -ENODEV; 4933 error = -ENODEV;
4934 goto out_kfree_ioc; 4934 goto out_up;
4935 } 4935 }
4936 spin_unlock_irqrestore(&instance->hba_lock, flags); 4936 spin_unlock_irqrestore(&instance->hba_lock, flags);
4937 4937
4938 error = megasas_mgmt_fw_ioctl(instance, user_ioc, ioc); 4938 error = megasas_mgmt_fw_ioctl(instance, user_ioc, ioc);
4939 out_up:
4939 up(&instance->ioctl_sem); 4940 up(&instance->ioctl_sem);
4940 4941
4941 out_kfree_ioc: 4942 out_kfree_ioc: