From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Bartosz Golaszewski <brgl@bgdev•pl>
Cc: Linux Next Mailing List <linux-next@vger•kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
YueHaibing <yuehaibing@huawei•com>
Subject: linux-next: build warning after merge of the gpio-brgl tree
Date: Thu, 24 Jan 2019 15:18:37 +1100 [thread overview]
Message-ID: <20190124151837.1ca96816@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 728 bytes --]
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")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2019-01-24 4:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-24 4:18 Stephen Rothwell [this message]
2019-01-24 5:42 ` linux-next: build warning after merge of the gpio-brgl tree YueHaibing
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=20190124151837.1ca96816@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=brgl@bgdev$(echo .)pl \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=yuehaibing@huawei$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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