Re: [PATCH] [SCSI] aacraid: use kmemdup

2016-05-31 Thread Martin K. Petersen
> "Muhammad" == Muhammad Falak R Wani writes: Muhammad> Use kmemdup when some other buffer is immediately copied into Muhammad> allocated region. It replaces call to allocation followed by Muhammad> memcpy, by a single call to kmemdup. Applied to 4.8/scsi-queue. -- Martin K. Petersen

RE: [PATCH] [SCSI] aacraid: use kmemdup

2016-05-19 Thread Raghava Aditya Renukunta
Petersen; > linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: [PATCH] [SCSI] aacraid: use kmemdup > > EXTERNAL EMAIL > > > Use kmemdup when some other buffer is immediately copied into allocated > region. It replaces call to allocation followed by memcpy,

[PATCH] [SCSI] aacraid: use kmemdup

2016-05-19 Thread Muhammad Falak R Wani
Use kmemdup when some other buffer is immediately copied into allocated region. It replaces call to allocation followed by memcpy, by a single call to kmemdup. Signed-off-by: Muhammad Falak R Wani --- drivers/scsi/aacraid/commctrl.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) d