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@xxxxxxxxx/