[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1v7qev5w0.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 05 May 2025 22:18:41 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kees Cook <kees@...nel.org>
Cc: Saurav Kashyap <skashyap@...vell.com>, Javed Hasan
<jhasan@...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, WangYuli <wangyuli@...ontech.com>,
Mark Brown <broonie@...nel.org>,
"Dr. David Alan Gilbert" <linux@...blig.org>,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] scsi: qedf: Use designated initializer for struct
qed_fcoe_cb_ops
Kees,
> Recent fixes to the randstruct GCC plugin allowed it to notice that
> this structure is entirely function pointers and is therefore subject
> to randomization, but doing so requires that it always use designated
> initializers. Explicitly specify the "common" member as being
> initialized.
Applied to 6.16/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists