Re: linux-next: build failure after merge of the mmc tree

From: Wenbin Mei (梅文彬)
Date: Fri Jun 09 2023 - 02:10:41 EST


On Fri, 2023-06-09 at 11:34 +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the mmc tree, today's linux-next build (x86_64
> allmodconfig)
> failed like this:
>
> In file included from drivers/mmc/host/mtk-sd.c:38:
> drivers/mmc/host/mtk-sd.c: In function 'msdc_cqe_cit_cal':
> drivers/mmc/host/cqhci.h:27:41: error: implicit declaration of
> function 'FIELD_GET' [-Werror=implicit-function-declaration]
> 27 | #define
> CQHCI_ITCFMUL(x) FIELD_GET(CQHCI_CAP_ITCFMUL, (x))
> | ^~~~~~~~~
> drivers/mmc/host/mtk-sd.c:2468:19: note: in expansion of macro
> 'CQHCI_ITCFMUL'
> 2468 | itcfmul = CQHCI_ITCFMUL(cqhci_readl(cq_host,
> CQHCI_CAP));
> | ^~~~~~~~~~~~~
>
> Caused by commit
>
> 364dae3e80a4 ("mmc: mtk-sd: reduce CIT for better performance")
>
> I have used the mmc tree from next-20230608 for today.
>
Hi All,

Sorry for the inconvenience.
My local build is pass, but I found that there is some problems with my
local environment, and I haven't covered many configs.
I will push a fixed patch, thanks.

Begards,
Wenbin