Re: [PATCH] scsi: aic7xxx: Use kmemdup in two places
From: Martin K. Petersen
Date: Mon Sep 21 2020 - 23:57:26 EST
On Wed, 9 Sep 2020 19:58:55 +0100, Alex Dewar wrote:
> kmemdup can be used instead of kmalloc+memcpy. Replace two occurrences
> of this pattern.
>
> Issue identified with Coccinelle.
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: aic7xxx: Use kmemdup() in two places
https://git.kernel.org/mkp/scsi/c/f97e6e1eabbf
--
Martin K. Petersen Oracle Linux Engineering