Re: linux-next: build failure after merge of the rtc tree
From: Romain Perier
Date: Mon Sep 27 2021 - 03:16:54 EST
Hi,
Whoops, my bad, it is probably caused by missing CONFIG_WERROR on my side.
It seems to be fixed by
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?id=27ff63eb076c31086e0a72d41b5c635193a58516
Regards,
Romain
Le lun. 27 sept. 2021 à 05:10, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> a écrit :
>
> Hi all,
>
> After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> drivers/rtc/rtc-msc313.c: In function 'msc313_rtc_read_alarm':
> drivers/rtc/rtc-msc313.c:54:12: error: implicit declaration of function 'readw' [-Werror=implicit-function-declaration]
> 54 | seconds = readw(priv->rtc_base + REG_RTC_MATCH_VAL_L)
> | ^~~~~
> drivers/rtc/rtc-msc313.c: In function 'msc313_rtc_alarm_irq_enable':
> drivers/rtc/rtc-msc313.c:75:2: error: implicit declaration of function 'writew' [-Werror=implicit-function-declaration]
> 75 | writew(reg, priv->rtc_base + REG_RTC_CTRL);
> | ^~~~~~
>
> Caused by commit
>
> be7d9c9161b9 ("rtc: Add support for the MSTAR MSC313 RTC")
>
> I have used the rtc tree from next-20210924 for today.
>
> --
> Cheers,
> Stephen Rothwell