[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1997c6a3-6548-47ef-bcaf-7bfa175f6421@huawei.com>
Date: Thu, 5 Sep 2024 09:10:45 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.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()
On 2024/9/5 8:16, Gustavo A. R. Silva wrote:
> [..]
>
>> - 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+.
Sorry, it is nr_phy_params, I made a mistake with this patch.
Thanks
Hongbo
>
> Thanks
> --
> Gustavo
>
> [1]
> https://lore.kernel.org/linux-hardening/202409042358.dwEQMShp-lkp@intel.com/
Powered by blists - more mailing lists