summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/scsi/csiostor/csio_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/scsi/csiostor/csio_hw.c')
-rw-r--r--kernel/drivers/scsi/csiostor/csio_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/scsi/csiostor/csio_hw.c b/kernel/drivers/scsi/csiostor/csio_hw.c
index 2e66f34eb..622bdabc8 100644
--- a/kernel/drivers/scsi/csiostor/csio_hw.c
+++ b/kernel/drivers/scsi/csiostor/csio_hw.c
@@ -3928,6 +3928,7 @@ csio_hw_init(struct csio_hw *hw)
evt_entry = kzalloc(sizeof(struct csio_evt_msg), GFP_KERNEL);
if (!evt_entry) {
+ rv = -ENOMEM;
csio_err(hw, "Failed to initialize eventq");
goto err_evtq_cleanup;
}