[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1h6273g9i.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 28 Apr 2025 21:31:29 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kees Cook <kees@...nel.org>
Cc: Nilesh Javali <njavali@...vell.com>,
Manish Rangankar
<mrangankar@...vell.com>,
GR-QLogic-Storage-Upstream@...vell.com,
"James
E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
"Martin K.
Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] scsi: qla4xxx: Remove duplicate struct crb_addr_pair
Kees,
> In preparation for making the kmalloc family of allocators type aware,
> we need to make sure that the returned type from the allocation
> matches the type of the variable being assigned. (Before, the
> allocator would always return "void *", which can be implicitly cast
> to any pointer type.)
Applied to 6.16/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists