]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[SCSI] megaraid_sas_fusion: Return correct error value in megasas_get_ld_map_info()
authorHannes Reinecke <hare@suse.de>
Thu, 16 Jan 2014 10:25:35 +0000 (11:25 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:17 +0000 (10:19 -0700)
commit2f8bdfa84a0b814ef66701be1e5dbc88433676e1
tree9f7fe68f585c8f675902f50359f627cd32eca73c
parentfdc5a97cd8bde59b4c94d0b7ef7f11b163e34246
[SCSI] megaraid_sas_fusion: Return correct error value in megasas_get_ld_map_info()

When no HBA is found we should be returning '-ENXIO' to be consistent
with the other return values.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Acked-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c