Re: [PATCH] scsi: aic7xxx: Use kmemdup in two places

From: Martin K. Petersen
Date: Tue Sep 15 2020 - 22:01:11 EST



Alex,

> kmemdup can be used instead of kmalloc+memcpy. Replace two occurrences
> of this pattern.
>
> Issue identified with Coccinelle.

Applied to 5.10/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering