[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMRc=MdMK=PMqHeroiyytwZ0w3++iiXWZaBQsRMQvjgvQqDBQw@mail.gmail.com>
Date: Sun, 27 Jan 2019 13:30:55 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the gpio-brgl tree
czw., 24 sty 2019 o 06:42 YueHaibing <yuehaibing@...wei.com> napisaĆ(a):
>
> On 2019/1/24 12:18, Stephen Rothwell wrote:
> > Hi Bartosz,
> >
> > After merging the gpio-brgl tree, today's linux-next build (arm
> > multi_v7_defconfig) produced this warning:
> >
> > drivers/gpio/gpio-davinci.c: In function 'davinci_gpio_get_irq_chip':
> > drivers/gpio/gpio-davinci.c:472:9: warning: function returns address of local variable [-Wreturn-local-addr]
> > return &gpio_unbanked.chip;
> > ^~~~~~~~~~~~~~~~~~~
> > drivers/gpio/gpio-davinci.c: In function 'keystone_gpio_get_irq_chip':
> > drivers/gpio/gpio-davinci.c:480:9: warning: function returns address of local variable [-Wreturn-local-addr]
> > return &gpio_unbanked;
> > ^~~~~~~~~~~~~~
> >
> > Introduced by commit
> >
> > ee5e87158e63 ("gpio: davinci: drop pointless static qualifier")
>
> I'm very sorry for this.
>
> I misread the code, Pls revert this.
>
> >
>
I backed out this one.
Thanks,
Bartosz
Powered by blists - more mailing lists