Skip to content
Commit ea47ebf1 authored by Dan Carpenter's avatar Dan Carpenter Committed by James Bottomley
Browse files

csiostor: fix an error code in csio_hw_init()



We should return -ENOMEM if kzalloc() fails here instead of returning
success.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Odin.com>
parent 0d143c69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment