Re: [PATCH v2] message/fusion/mptbase.c: Use kmemdup instead of memcpy and kmalloc
Bharath, > Replace kmalloc + memcpy with kmemdup. Applied to 5.3/scsi-queue. Thanks. -- Martin K. Petersen Oracle Linux Engineering
[PATCH v2] message/fusion/mptbase.c: Use kmemdup instead of memcpy and kmalloc
Replace kmalloc + memcpy with kmemdup. This was reported by coccinelle. Signed-off-by: Bharath Vedartham --- Changes since v2: Removed the cast from pIoc2. --- drivers/message/fusion/mptbase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/message/fusion/