From: YueHaibing <yuehaibing@huawei.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: linux-next: build warning after merge of the gpio-brgl tree
Date: Thu, 24 Jan 2019 13:42:51 +0800 [thread overview]
Message-ID: <df1743f8-71c8-3b18-1e8a-94198d99477d@huawei.com> (raw)
In-Reply-To: <20190124151837.1ca96816@canb.auug.org.au>
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.
>
next prev parent reply other threads:[~2019-01-24 5:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-24 4:18 Stephen Rothwell
2019-01-24 5:42 ` YueHaibing [this message]
2019-01-27 12:30 ` Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df1743f8-71c8-3b18-1e8a-94198d99477d@huawei.com \
--to=yuehaibing@huawei.com \
--cc=brgl@bgdev.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®