Re: linux-next: build warning after merge of the gpio-brgl tree

2019-01-27 Thread Bartosz Golaszewski
czw., 24 sty 2019 o 06:42 YueHaibing 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

Re: linux-next: build warning after merge of the gpio-brgl tree

2019-01-23 Thread YueHaibing
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: functi

linux-next: build warning after merge of the gpio-brgl tree

2019-01-23 Thread Stephen Rothwell
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