All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq
Date: Thu, 13 May 2021 23:59:04 +0800	[thread overview]
Message-ID: <202105132301.FAjsup0W-lkp@intel.com> (raw)

[-- 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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq
Date: Thu, 13 May 2021 23:59:04 +0800	[thread overview]
Message-ID: <202105132301.FAjsup0W-lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-05-13 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 15:59 kernel test robot [this message]
2021-05-13 15:59 ` [arm-platforms:irq/domain_cleanup 17/17] ld.lld: error: duplicate symbol: generic_handle_domain_irq kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202105132301.FAjsup0W-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=maz@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.