]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitba94ec948291a5aa491f71100bd3bc4695063bef
treea34a2eb9ac4bf4e3c6326c4bc5dfb2e08e8d2df1
parent1bfeb5c86550a29fbbed189fcfea163933863385
[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