Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread walter harms
Am 30.01.2013 08:06, schrieb Dan Carpenter: There wasn't any error handling for this kzalloc(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index c06b8e5..d8293f2 100644 ---

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Dan Carpenter
On Wed, Jan 30, 2013 at 09:15:43AM +0100, walter harms wrote: Am 30.01.2013 08:06, schrieb Dan Carpenter: There wasn't any error handling for this kzalloc(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/osd/osd_initiator.c

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Benny Halevy
On Wed, Jan 30, 2013 at 10:57 AM, walter harms wha...@bfs.de wrote: Am 30.01.2013 09:27, schrieb Dan Carpenter: On Wed, Jan 30, 2013 at 09:15:43AM +0100, walter harms wrote: Am 30.01.2013 08:06, schrieb Dan Carpenter: There wasn't any error handling for this kzalloc(). Signed-off-by: Dan

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Benny Halevy
On Wed, Jan 30, 2013 at 9:06 AM, Dan Carpenter dan.carpen...@oracle.com wrote: There wasn't any error handling for this kzalloc(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index c06b8e5..d8293f2

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread walter harms
Am 30.01.2013 10:51, schrieb Benny Halevy: On Wed, Jan 30, 2013 at 10:57 AM, walter harms wha...@bfs.de wrote: Am 30.01.2013 09:27, schrieb Dan Carpenter: On Wed, Jan 30, 2013 at 09:15:43AM +0100, walter harms wrote: Am 30.01.2013 08:06, schrieb Dan Carpenter: There wasn't any error

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Benny Halevy
On Wed, Jan 30, 2013 at 3:00 PM, walter harms wha...@bfs.de wrote: Am 30.01.2013 10:51, schrieb Benny Halevy: On Wed, Jan 30, 2013 at 10:57 AM, walter harms wha...@bfs.de wrote: Am 30.01.2013 09:27, schrieb Dan Carpenter: On Wed, Jan 30, 2013 at 09:15:43AM +0100, walter harms wrote: Am

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread walter harms
Am 30.01.2013 14:40, schrieb Benny Halevy: On Wed, Jan 30, 2013 at 3:00 PM, walter harms wha...@bfs.de wrote: Am 30.01.2013 10:51, schrieb Benny Halevy: On Wed, Jan 30, 2013 at 10:57 AM, walter harms wha...@bfs.de wrote: Am 30.01.2013 09:27, schrieb Dan Carpenter: On Wed, Jan 30, 2013

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Boaz Harrosh
On 01/30/2013 04:34 PM, walter harms wrote: I start to see the complexity of the situation. Would you mind to add the comment it can be anything. UTF-8 is more likely but not guaranteed either ? For now using a pascal-string seems the best solution but it should be warned that

Re: [patch] [SCSI] libosd: check for kzalloc() failure

2013-01-30 Thread Boaz Harrosh
On 01/30/2013 09:06 AM, Dan Carpenter wrote: There wasn't any error handling for this kzalloc(). ACK-by: Boaz Harrosh bharr...@panasas.com James please queue for inclusion Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Thanks Dan diff --git a/drivers/scsi/osd/osd_initiator.c

[patch] [SCSI] libosd: check for kzalloc() failure

2013-01-29 Thread Dan Carpenter
There wasn't any error handling for this kzalloc(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c index c06b8e5..d8293f2 100644 --- a/drivers/scsi/osd/osd_initiator.c +++ b/drivers/scsi/osd/osd_initiator.c