[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1bklmr0fg.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 21 Feb 2023 19:47:23 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kees Cook <keescook@...omium.org>
Cc: Sumit Saxena <sumit.saxena@...adcom.com>,
Himanshu Madhani <himanshu.madhani@...cle.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
kernel test robot <lkp@...el.com>,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] scsi: mpi3mr: Replace 1-element array with flex-array
Kees,
> Nothing else defined MPI3_NVME_ENCAP_CMD_MAX, so the "command" buffer
> was being defined as a fake flexible array of size 1. Replace this
> with a proper flex array. Avoids this GCC 13 warning under
> -fstrict-flex-arrays=3:
Applied to 6.3/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists