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

From: Martin K. Petersen
Date: Tue May 31 2016 - 22:25:09 EST


>>>>> "Muhammad" == Muhammad Falak R Wani <falakreyaz@xxxxxxxxx> 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 Oracle Linux Engineering