Re: [PATCH] scsi: megaraid_sas: remove unnecessary memset

From: Martin K. Petersen
Date: Mon Apr 11 2022 - 21:56:04 EST



Wan,

> instance->cmd_list is allocated by kcalloc(). The memory is set to
> zero. It is unnecessary to call memset again.

Applied to 5.19/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering