Re: [PATCH] gpio: omap: avoid clang warning

2019-04-03 Thread Linus Walleij
On Thu, Mar 7, 2019 at 5:33 PM Arnd Bergmann wrote: > clang warns about a tentative array definition in the gpio-omap driver: > > drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed > to have one element [-Werror] > static const struct of_device_id omap_gpio_match[]; > >

Re: [PATCH] gpio: omap: avoid clang warning

2019-03-14 Thread Grygorii Strashko
Hi Arnd, On 07.03.19 12:33, Arnd Bergmann wrote: > clang warns about a tentative array definition in the gpio-omap driver: > > drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed > to have one element [-Werror] > static const struct of_device_id omap_gpio_match[]; > > It

Re: [PATCH] gpio: omap: avoid clang warning

2019-03-11 Thread Arnd Bergmann
On Mon, Mar 11, 2019 at 10:40 AM Bartosz Golaszewski wrote: > czw., 7 mar 2019 o 11:39 Arnd Bergmann napisał(a): > > clang warns about a tentative array definition in the gpio-omap driver: > > > > drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed > > to have one element

Re: [PATCH] gpio: omap: avoid clang warning

2019-03-11 Thread Bartosz Golaszewski
czw., 7 mar 2019 o 11:39 Arnd Bergmann napisał(a): > > clang warns about a tentative array definition in the gpio-omap driver: > > drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed > to have one element [-Werror] > static const struct of_device_id omap_gpio_match[]; > >