All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq
@ 2021-05-13 15:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-13 15:59 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kbuild-all, clang-built-linux, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 7126 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head:   5a65598a27f5f18b56e0f471925ccfa02e56ca84
commit: 5a65598a27f5f18b56e0f471925ccfa02e56ca84 [17/17] genirq: Move non-irqdomain handle_domain_irq() handling into ARM's handle_IRQ()
config: x86_64-randconfig-a003-20210513 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=5a65598a27f5f18b56e0f471925ccfa02e56ca84
        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/domain_cleanup
        git checkout 5a65598a27f5f18b56e0f471925ccfa02e56ca84
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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

All error/warnings (new ones prefixed by >>):

   In file included from drivers/video/fbdev/arcfb.c:44:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   1 warning generated.
--
   In file included from drivers/video/fbdev/neofb.c:64:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   drivers/video/fbdev/neofb.c:144:20: warning: unused function 'write_le32' [-Wunused-function]
   static inline void write_le32(int regindex, u32 val, const struct neofb_par *par)
                      ^
   2 warnings generated.
--
   In file included from drivers/video/fbdev/arkfb.c:22:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   drivers/video/fbdev/arkfb.c:321:18: warning: unused function 'dac_read_reg' [-Wunused-function]
   static inline u8 dac_read_reg(struct dac_info *info, u8 reg)
                    ^
   drivers/video/fbdev/arkfb.c:328:20: warning: unused function 'dac_read_regs' [-Wunused-function]
   static inline void dac_read_regs(struct dac_info *info, u8 *code, int count)
                      ^
   3 warnings generated.
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmon.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbcmap.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbsysfs.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/modedb.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbcvt.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fb_defio.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>>            drivers/video/fbdev/riva/fbdev.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>>            drivers/video/fbdev/riva/nv_driver.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/nvidia/nvidia.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/nvidia/nv_hw.o:(.text+0x0)
..

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33904 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq
@ 2021-05-13 15:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-13 15:59 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 7259 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head:   5a65598a27f5f18b56e0f471925ccfa02e56ca84
commit: 5a65598a27f5f18b56e0f471925ccfa02e56ca84 [17/17] genirq: Move non-irqdomain handle_domain_irq() handling into ARM's handle_IRQ()
config: x86_64-randconfig-a003-20210513 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a0fed635fe1701470062495a6ffee1c608f3f1bc)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=5a65598a27f5f18b56e0f471925ccfa02e56ca84
        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/domain_cleanup
        git checkout 5a65598a27f5f18b56e0f471925ccfa02e56ca84
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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

All error/warnings (new ones prefixed by >>):

   In file included from drivers/video/fbdev/arcfb.c:44:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   1 warning generated.
--
   In file included from drivers/video/fbdev/neofb.c:64:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   drivers/video/fbdev/neofb.c:144:20: warning: unused function 'write_le32' [-Wunused-function]
   static inline void write_le32(int regindex, u32 val, const struct neofb_par *par)
                      ^
   2 warnings generated.
--
   In file included from drivers/video/fbdev/arkfb.c:22:
   In file included from include/linux/fb.h:6:
   In file included from include/uapi/linux/fb.h:6:
   In file included from include/linux/i2c.h:13:
   In file included from include/linux/acpi.h:13:
   In file included from include/linux/irqdomain.h:34:
   In file included from include/linux/irq.h:584:
>> include/linux/irqdesc.h:178:5: warning: no previous prototype for function 'generic_handle_domain_irq' [-Wmissing-prototypes]
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
       ^
   include/linux/irqdesc.h:178:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int generic_handle_domain_irq(struct irq_domain *domain, unsigned int hwirq)
   ^
   static 
   drivers/video/fbdev/arkfb.c:321:18: warning: unused function 'dac_read_reg' [-Wunused-function]
   static inline u8 dac_read_reg(struct dac_info *info, u8 reg)
                    ^
   drivers/video/fbdev/arkfb.c:328:20: warning: unused function 'dac_read_regs' [-Wunused-function]
   static inline void dac_read_regs(struct dac_info *info, u8 *code, int count)
                      ^
   3 warnings generated.
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmon.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbcmap.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbsysfs.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/modedb.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbcvt.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fbmem.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/core/fb_defio.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>>            drivers/video/fbdev/riva/fbdev.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>>            drivers/video/fbdev/riva/nv_driver.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: generic_handle_domain_irq
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/nvidia/nvidia.o:(generic_handle_domain_irq)
   >>> defined at irqdesc.h:180 (include/linux/irqdesc.h:180)
   >>> drivers/video/fbdev/nvidia/nv_hw.o:(.text+0x0)
..

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33904 bytes --]

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

end of thread, other threads:[~2021-05-13 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 15:59 [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq kernel test robot
2021-05-13 15:59 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.