These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / scsi / csiostor / csio_hw.c
index 2e66f34..622bdab 100644 (file)
@@ -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;
                }