[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <42492aed-9b94-47cf-a5c2-a3fd44247f80@embeddedor.com>
Date: Wed, 4 Sep 2024 18:16:55 -0600
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Hongbo Li <lihongbo22@...wei.com>, adrian.hunter@...el.com,
ulf.hansson@...aro.org, kees@...nel.org, gustavoars@...nel.org
Cc: linux-mmc@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH -next] mmc: sdhci-cadence: Annotate struct
sdhci_cdns_phy_param with __counted_by()
[..]
> - struct sdhci_cdns_phy_param phy_params[];
> + struct sdhci_cdns_phy_param phy_params[] __counted_by(count);
It seems there is no such `count` member in the structure[1].
Since `counted_by` hasn't been released in GCC yet. Please, make
sure to build-test any `counted_by` patches with Clang 18+.
Thanks
--
Gustavo
[1] https://lore.kernel.org/linux-hardening/202409042358.dwEQMShp-lkp@intel.com/
Powered by blists - more mailing lists