diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-04-14 17:32:19 +0300 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-05-25 08:46:26 -0700 |
commit | ea47ebf15d68d616cf0daef31e7f694d11b59f7f (patch) | |
tree | f6795dac78f84e34514d72221f4d2d940e94dc45 /drivers/scsi/megaraid/megaraid_sas_base.c | |
parent | 0d143c69a32d062ee859b75cab982a926ef79817 (diff) |
csiostor: fix an error code in csio_hw_init()
We should return -ENOMEM if kzalloc() fails here instead of returning
success.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions