[arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq

kernel test robot lkp at intel.com
Thu May 13 08:59:04 PDT 2021


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 33904 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210513/acf290b9/attachment-0001.gz>


More information about the linux-arm-kernel mailing list