Re: linux-next: build warning after merge of the rtc tree
From: Alexandre Belloni
Date: Wed Mar 27 2019 - 21:58:01 EST
On 28/03/2019 01:36:21+0000, Joel Stanley wrote:
> On Thu, 28 Mar 2019 at 01:23, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > Hi all,
> >
> > After merging the rtc tree, today's linux-next build (x86_64 allmodconfig)
> > produced this warning:
> >
> > drivers/rtc/rtc-aspeed.c: In function 'aspeed_rtc_read_time':
> > drivers/rtc/rtc-aspeed.c:26:16: warning: unused variable 'flags' [-Wunused-variable]
> > unsigned long flags;
> > ^~~~~
> > drivers/rtc/rtc-aspeed.c: In function 'aspeed_rtc_set_time':
> > drivers/rtc/rtc-aspeed.c:57:16: warning: unused variable 'flags' [-Wunused-variable]
> > unsigned long flags;
> > ^~~~~
> >
> > Introduced by commit
> >
> > 7f4d485413fb ("rtc: Add ASPEED RTC driver")
>
> Alexandre, it looks like v3 went in instead of v4. Do you need me to
> send a follow up?
>
I didn't get any v4, I'll fix it up in the tree.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com