Re: [PATCH -next] mmc: sdhci-cadence: Annotate struct sdhci_cdns_phy_param with __counted_by()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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/




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux