[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <158925392373.17325.7271834544265076683.b4-ty@oracle.com>
Date: Tue, 12 May 2020 03:28:31 +0000 (UTC)
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Avri Altman <avri.altman@....com>,
Alim Akhtar <alim.akhtar@...sung.com>,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: ufs: Replace zero-length array with flexible-array
On Thu, 7 May 2020 14:25:50 -0500, Gustavo A. R. Silva wrote:
> The current codebase makes use of the zero-length array language
> extension to the C90 standard, but the preferred mechanism to declare
> variable-length types such as these ones is a flexible array member[1][2],
> introduced in C99:
>
> struct foo {
> int stuff;
> struct boo array[];
> };
>
> [...]
Applied to 5.8/scsi-queue, thanks!
[1/1] scsi: ufs: Replace zero-length array with flexible-array
https://git.kernel.org/mkp/scsi/c/ec38c0adc0a1
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists