Re: [PATCH 4/18] qla4xxx: Use kmemdup instead of kmalloc + memcpy

2014-05-27 Thread Vikas Chaudhary
On 26/05/14 8:51 pm, "Benoit Taine" wrote: >This issue was reported by coccicheck using the semantic patch >at scripts/coccinelle/api/memdup.cocci > >Signed-off-by: Benoit Taine >--- >Tested by compilation without errors. > > drivers/scsi/qla4xxx/ql4_os.c |7 +++ > 1 file changed, 3 ins

[PATCH 4/18] qla4xxx: Use kmemdup instead of kmalloc + memcpy

2014-05-26 Thread Benoit Taine
This issue was reported by coccicheck using the semantic patch at scripts/coccinelle/api/memdup.cocci Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/scsi/qla4xxx/ql4_os.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/q