[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vcsxn+8H-tpkN_ipjW4XGsfnhd7NA5Rz+cvGt7T4C9xfQ@mail.gmail.com>
Date: Tue, 15 Mar 2022 20:05:20 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: kernel test robot <lkp@...el.com>
Cc: Shreeya Patel <shreeya.patel@...labora.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, krisman@...labora.com,
kbuild-all@...ts.01.org,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Collabora Kernel ML <kernel@...labora.com>
Subject: Re: [PATCH v2] gpio: Restrict usage of gc irq members before initialization
On Tue, Mar 15, 2022 at 7:38 PM kernel test robot <lkp@...el.com> wrote:
>
> Hi Shreeya,
>
> Thank you for the patch! Yet something to improve:
> All errors (new ones prefixed by >>):
>
> drivers/gpio/gpiolib.c: In function 'gpiod_to_irq':
> >> drivers/gpio/gpiolib.c:3068:29: error: 'struct gpio_chip' has no member named 'irq'
> 3068 | if (gc->to_irq && gc->irq.gc_irq_initialized) {
> | ^~
Exactly, because this check should go under ifdeffery.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists