[arm-platforms:irq/irq_chip_ro 12/20] drivers/gpio/gpio-omap.c:716:48: error: invalid type argument of '->' (have 'struct gpio_chip')

kernel test robot lkp at intel.com
Mon Jan 31 20:07:17 PST 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head:   218869493fda68e8c327a6484f5a6973a3008729
commit: bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73 [12/20] gpio: omap: Switch to dynamic chip name output
config: arm-randconfig-c002-20220130 (https://download.01.org/0day-ci/archive/20220201/202202011237.P6YaJbVl-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms irq/irq_chip_ro
        git checkout bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpio/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   drivers/gpio/gpio-omap.c: In function 'omap_gpio_irq_print_chip':
>> drivers/gpio/gpio-omap.c:716:48: error: invalid type argument of '->' (have 'struct gpio_chip')
     716 |         seq_printf(p, "%s", dev_name(bank->chip->dev));
         |                                                ^~


vim +716 drivers/gpio/gpio-omap.c

   711	
   712	static void omap_gpio_irq_print_chip(struct irq_data *d, struct seq_file *p)
   713	{
   714		struct gpio_bank *bank = omap_irq_data_get_bank(d);
   715	
 > 716		seq_printf(p, "%s", dev_name(bank->chip->dev));
   717	}
   718	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



More information about the linux-arm-kernel mailing list