oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [conor:gpio-irq 3/8] drivers/irqchip/irq-mpfs-mux.c:207:10: error: 'const struct irq_domain_ops' has no member named 'translate'
@ 2023-05-09 18:14 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-05-09 18:14 UTC (permalink / raw)
  To: Conor Dooley; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git gpio-irq
head:   6ef4b8fad90b5bae682bd4b88b807f2a38822fe8
commit: f39a859cf7fec51e695de4544786f2b0fb566e75 [3/8] irqchip: add mpfs gpio interrupt mux
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20230510/202305100253.DED8LljA-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/commit/?id=f39a859cf7fec51e695de4544786f2b0fb566e75
        git remote add conor https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git
        git fetch --no-tags conor gpio-irq
        git checkout f39a859cf7fec51e695de4544786f2b0fb566e75
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305100253.DED8LljA-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/irqchip/irq-mpfs-mux.c:10:
   include/linux/bits.h:43:9: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '274877890560' to '4294950912' [-Woverflow]
      43 |         (GENMASK_INPUT_CHECK(h, l) + __GENMASK_ULL(h, l))
         |         ^
   drivers/irqchip/irq-mpfs-mux.c:59:9: note: in expansion of macro 'GENMASK_ULL'
      59 |         GENMASK_ULL(37, 14),
         |         ^~~~~~~~~~~
>> drivers/irqchip/irq-mpfs-mux.c:207:10: error: 'const struct irq_domain_ops' has no member named 'translate'
     207 |         .translate      = mpfs_irq_mux_nondirect_translate,
         |          ^~~~~~~~~
>> drivers/irqchip/irq-mpfs-mux.c:207:27: error: initialization of 'int (*)(struct irq_domain *, unsigned int,  irq_hw_number_t)' {aka 'int (*)(struct irq_domain *, unsigned int,  long unsigned int)'} from incompatible pointer type 'int (*)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *)' [-Werror=incompatible-pointer-types]
     207 |         .translate      = mpfs_irq_mux_nondirect_translate,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:207:27: note: (near initialization for 'mpfs_irq_mux_nondirect_domain_ops.map')
>> drivers/irqchip/irq-mpfs-mux.c:208:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
     208 |         .alloc          = mpfs_irq_mux_nondirect_alloc,
         |          ^~~~~
>> drivers/irqchip/irq-mpfs-mux.c:208:27: error: initialization of 'void (*)(struct irq_domain *, unsigned int)' from incompatible pointer type 'int (*)(struct irq_domain *, unsigned int,  unsigned int,  void *)' [-Werror=incompatible-pointer-types]
     208 |         .alloc          = mpfs_irq_mux_nondirect_alloc,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:208:27: note: (near initialization for 'mpfs_irq_mux_nondirect_domain_ops.unmap')
>> drivers/irqchip/irq-mpfs-mux.c:209:10: error: 'const struct irq_domain_ops' has no member named 'free'
     209 |         .free           = irq_domain_free_irqs_top,
         |          ^~~~
>> drivers/irqchip/irq-mpfs-mux.c:209:27: error: 'irq_domain_free_irqs_top' undeclared here (not in a function); did you mean 'irq_domain_free_irqs'?
     209 |         .free           = irq_domain_free_irqs_top,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~
         |                           irq_domain_free_irqs
   drivers/irqchip/irq-mpfs-mux.c:284:10: error: 'const struct irq_domain_ops' has no member named 'translate'
     284 |         .translate      = mpfs_irq_mux_direct_translate,
         |          ^~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:284:27: error: initialization of 'int (*)(struct irq_domain *, unsigned int,  irq_hw_number_t)' {aka 'int (*)(struct irq_domain *, unsigned int,  long unsigned int)'} from incompatible pointer type 'int (*)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *)' [-Werror=incompatible-pointer-types]
     284 |         .translate      = mpfs_irq_mux_direct_translate,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:284:27: note: (near initialization for 'mpfs_irq_mux_direct_domain_ops.map')
   drivers/irqchip/irq-mpfs-mux.c:285:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
     285 |         .alloc          = mpfs_irq_mux_direct_alloc,
         |          ^~~~~
   drivers/irqchip/irq-mpfs-mux.c:285:27: error: initialization of 'void (*)(struct irq_domain *, unsigned int)' from incompatible pointer type 'int (*)(struct irq_domain *, unsigned int,  unsigned int,  void *)' [-Werror=incompatible-pointer-types]
     285 |         .alloc          = mpfs_irq_mux_direct_alloc,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:285:27: note: (near initialization for 'mpfs_irq_mux_direct_domain_ops.unmap')
   drivers/irqchip/irq-mpfs-mux.c:286:10: error: 'const struct irq_domain_ops' has no member named 'free'
     286 |         .free           = irq_domain_free_irqs_top,
         |          ^~~~
   cc1: some warnings being treated as errors


vim +207 drivers/irqchip/irq-mpfs-mux.c

   204	
   205	static const struct irq_domain_ops mpfs_irq_mux_nondirect_domain_ops = {
   206		.select		= mpfs_irq_mux_nondirect_select,
 > 207		.translate	= mpfs_irq_mux_nondirect_translate,
 > 208		.alloc		= mpfs_irq_mux_nondirect_alloc,
 > 209		.free		= irq_domain_free_irqs_top,
   210	};
   211	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [conor:gpio-irq 3/8] drivers/irqchip/irq-mpfs-mux.c:207:10: error: 'const struct irq_domain_ops' has no member named 'translate'
@ 2023-05-09 17:39 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-05-09 17:39 UTC (permalink / raw)
  To: Conor Dooley; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git gpio-irq
head:   6ef4b8fad90b5bae682bd4b88b807f2a38822fe8
commit: f39a859cf7fec51e695de4544786f2b0fb566e75 [3/8] irqchip: add mpfs gpio interrupt mux
config: parisc64-defconfig (https://download.01.org/0day-ci/archive/20230510/202305100110.6Sx0jVq5-lkp@intel.com/config)
compiler: hppa64-linux-gcc (GCC) 12.1.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/conor/linux.git/commit/?id=f39a859cf7fec51e695de4544786f2b0fb566e75
        git remote add conor https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git
        git fetch --no-tags conor gpio-irq
        git checkout f39a859cf7fec51e695de4544786f2b0fb566e75
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc64 SHELL=/bin/bash drivers/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305100110.6Sx0jVq5-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/irqchip/irq-mpfs-mux.c:207:10: error: 'const struct irq_domain_ops' has no member named 'translate'
     207 |         .translate      = mpfs_irq_mux_nondirect_translate,
         |          ^~~~~~~~~
>> drivers/irqchip/irq-mpfs-mux.c:207:27: error: initialization of 'int (*)(struct irq_domain *, unsigned int,  irq_hw_number_t)' {aka 'int (*)(struct irq_domain *, unsigned int,  long unsigned int)'} from incompatible pointer type 'int (*)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *)' [-Werror=incompatible-pointer-types]
     207 |         .translate      = mpfs_irq_mux_nondirect_translate,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:207:27: note: (near initialization for 'mpfs_irq_mux_nondirect_domain_ops.map')
>> drivers/irqchip/irq-mpfs-mux.c:208:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
     208 |         .alloc          = mpfs_irq_mux_nondirect_alloc,
         |          ^~~~~
>> drivers/irqchip/irq-mpfs-mux.c:208:27: error: initialization of 'void (*)(struct irq_domain *, unsigned int)' from incompatible pointer type 'int (*)(struct irq_domain *, unsigned int,  unsigned int,  void *)' [-Werror=incompatible-pointer-types]
     208 |         .alloc          = mpfs_irq_mux_nondirect_alloc,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:208:27: note: (near initialization for 'mpfs_irq_mux_nondirect_domain_ops.unmap')
>> drivers/irqchip/irq-mpfs-mux.c:209:10: error: 'const struct irq_domain_ops' has no member named 'free'
     209 |         .free           = irq_domain_free_irqs_top,
         |          ^~~~
>> drivers/irqchip/irq-mpfs-mux.c:209:27: error: 'irq_domain_free_irqs_top' undeclared here (not in a function); did you mean 'irq_domain_free_irqs'?
     209 |         .free           = irq_domain_free_irqs_top,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~
         |                           irq_domain_free_irqs
   drivers/irqchip/irq-mpfs-mux.c:284:10: error: 'const struct irq_domain_ops' has no member named 'translate'
     284 |         .translate      = mpfs_irq_mux_direct_translate,
         |          ^~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:284:27: error: initialization of 'int (*)(struct irq_domain *, unsigned int,  irq_hw_number_t)' {aka 'int (*)(struct irq_domain *, unsigned int,  long unsigned int)'} from incompatible pointer type 'int (*)(struct irq_domain *, struct irq_fwspec *, long unsigned int *, unsigned int *)' [-Werror=incompatible-pointer-types]
     284 |         .translate      = mpfs_irq_mux_direct_translate,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:284:27: note: (near initialization for 'mpfs_irq_mux_direct_domain_ops.map')
   drivers/irqchip/irq-mpfs-mux.c:285:10: error: 'const struct irq_domain_ops' has no member named 'alloc'
     285 |         .alloc          = mpfs_irq_mux_direct_alloc,
         |          ^~~~~
   drivers/irqchip/irq-mpfs-mux.c:285:27: error: initialization of 'void (*)(struct irq_domain *, unsigned int)' from incompatible pointer type 'int (*)(struct irq_domain *, unsigned int,  unsigned int,  void *)' [-Werror=incompatible-pointer-types]
     285 |         .alloc          = mpfs_irq_mux_direct_alloc,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/irqchip/irq-mpfs-mux.c:285:27: note: (near initialization for 'mpfs_irq_mux_direct_domain_ops.unmap')
   drivers/irqchip/irq-mpfs-mux.c:286:10: error: 'const struct irq_domain_ops' has no member named 'free'
     286 |         .free           = irq_domain_free_irqs_top,
         |          ^~~~
   cc1: some warnings being treated as errors


vim +207 drivers/irqchip/irq-mpfs-mux.c

   204	
   205	static const struct irq_domain_ops mpfs_irq_mux_nondirect_domain_ops = {
   206		.select		= mpfs_irq_mux_nondirect_select,
 > 207		.translate	= mpfs_irq_mux_nondirect_translate,
 > 208		.alloc		= mpfs_irq_mux_nondirect_alloc,
 > 209		.free		= irq_domain_free_irqs_top,
   210	};
   211	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-09 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 18:14 [conor:gpio-irq 3/8] drivers/irqchip/irq-mpfs-mux.c:207:10: error: 'const struct irq_domain_ops' has no member named 'translate' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2023-05-09 17:39 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).