[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1mtgrawv6.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 11 Apr 2022 21:55:48 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Wan Jiabing <wanjiabing@...o.com>
Cc: Kashyap Desai <kashyap.desai@...adcom.com>,
Sumit Saxena <sumit.saxena@...adcom.com>,
Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
megaraidlinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: megaraid_sas: remove unnecessary memset
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
Powered by blists - more mailing lists