[patch] mpt2sas: issue reset is not uninitialized

2014-12-03 Thread Dan Carpenter
The issue_reset variables were never set to zero. This bug was found with static analysis. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 58e4521..98bd546 100644 ---

Re: [patch] mpt2sas: issue reset is not uninitialized

2014-12-03 Thread Julia Lawall
On Wed, 3 Dec 2014, Dan Carpenter wrote: The issue_reset variables were never set to zero. This bug was found with static analysis. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index

Re: [patch] mpt2sas: issue reset is not uninitialized

2014-12-03 Thread Dan Carpenter
On Wed, Dec 03, 2014 at 11:36:20AM +0100, Julia Lawall wrote: On Wed, 3 Dec 2014, Dan Carpenter wrote: The issue_reset variables were never set to zero. This bug was found with static analysis. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [patch] mpt2sas: issue reset is not uninitialized

2014-12-03 Thread Dan Carpenter
On Wed, Dec 03, 2014 at 03:14:08PM +0100, walter harms wrote: hi Dan, just a minor question: did you forget to mention that you also changed from u8 to bool or was this unintentional ? That's a trivial thing and I didn't think it was worth mentioning. regards, dan carpenter -- To

Re: [patch] mpt2sas: issue reset is not uninitialized

2014-12-03 Thread walter harms
Am 03.12.2014 11:09, schrieb Dan Carpenter: The issue_reset variables were never set to zero. This bug was found with static analysis. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index