[SCSI] pm80xx: Fixed return value issue
authorViswas G <Viswas.G@pmcs.com>
Tue, 10 Dec 2013 05:01:38 +0000 (10:31 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:17:47 +0000 (10:17 -0700)
commitcf370066ac5c7d5fdf384fef24b8ba48a481ffa5
treea34a2eb9ac4bf4e3c6326c4bc5dfb2e08e8d2df1
parent859b5d103539ece7d3219f64ce09c6bf5de124e9
[SCSI] pm80xx: Fixed return value issue

pm80xx_get_gsm_dump() was returning "1" in error case
instead of negative error value.

Signed-off-by: Viswas G <Viswas.G@pmcs.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_ctl.c
drivers/scsi/pm8001/pm8001_hwi.c
drivers/scsi/pm8001/pm80xx_hwi.c