RE: [PATCH 2/4] pm8001: honor return value

2014-07-02 Thread Suresh Thiagarajan
On Thu, Jun 26, 2014 at 8:47 PM, Tomas Henzl wrote: > The driver ignores the return value in a lot of places, fix it at > least somewhere (and release the resources in such cases), to avoid > that bad things happen. > > Signed-off-by: Tomas Henzl > --- > drivers/scsi/pm8001/pm8001_hwi.c | 27

[PATCH 2/4] pm8001: honor return value

2014-06-26 Thread Tomas Henzl
The driver ignores the return value in a lot of places, fix it at least somewhere (and release the resources in such cases), to avoid that bad things happen. Signed-off-by: Tomas Henzl --- drivers/scsi/pm8001/pm8001_hwi.c | 27 +++--- drivers/scsi/pm8001/pm80xx_hwi.c | 41 +++