Re: [patch] csiostor: fix an error code in csio_hw_init()

2015-04-16 Thread Tomas Henzl
On 04/14/2015 04:32 PM, Dan Carpenter wrote: We should return -ENOMEM if kzalloc() fails here instead of returning success. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/csiostor/csio_hw.c b/drivers/scsi/csiostor/csio_hw.c index 2e66f34..622bdab 100644 ---

[patch] csiostor: fix an error code in csio_hw_init()

2015-04-14 Thread Dan Carpenter
We should return -ENOMEM if kzalloc() fails here instead of returning success. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/csiostor/csio_hw.c b/drivers/scsi/csiostor/csio_hw.c index 2e66f34..622bdab 100644 --- a/drivers/scsi/csiostor/csio_hw.c +++