On Tue, Mar 15, 2022 at 7:38 PM kernel test robot <lkp@xxxxxxxxx> wrote:
Hi Shreeya,
Thank you for the patch! Yet something to improve:
All errors (new ones prefixed by >>):Exactly, because this check should go under ifdeffery.
drivers/gpio/gpiolib.c: In function 'gpiod_to_irq':
3068 | if (gc->to_irq && gc->irq.gc_irq_initialized) {drivers/gpio/gpiolib.c:3068:29: error: 'struct gpio_chip' has no member named 'irq'
| ^~