Re: [PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-12 Thread Silviu Popescu
On Sun, Mar 10, 2013 at 2:26 PM, Silviu-Mihai Popescu wrote: > This replaces a call to kmalloc() followed by memset() with just one > call to kzalloc(). This was found using make coccicheck. > > Signed-off-by: Silviu-Mihai Popescu > --- > drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++-- >

Re: [PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-12 Thread Silviu Popescu
On Sun, Mar 10, 2013 at 2:26 PM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). This was found using make coccicheck. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com ---

[PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-10 Thread Silviu-Mihai Popescu
This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). This was found using make coccicheck. Signed-off-by: Silviu-Mihai Popescu --- drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-10 Thread Silviu-Mihai Popescu
This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). This was found using make coccicheck. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com --- drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-)