All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/irqchip/irq-loongarch-cpu.c:35: undefined reference to `liointc_handle'
@ 2022-08-02 12:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-02 12:20 UTC (permalink / raw)
  To: Jianmin Lv; +Cc: kbuild-all, linux-kernel, Marc Zyngier

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9de1f9c8ca5100a02a2e271bdbde36202e251b4b
commit: e8bba72b396cef7c919c73710f3c5884521adb4e irqchip / ACPI: Introduce ACPI_IRQ_MODEL_LPIC for LoongArch
date:   13 days ago
config: loongarch-randconfig-s053-20220801 (https://download.01.org/0day-ci/archive/20220802/202208022031.9hRlPwUl-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e8bba72b396cef7c919c73710f3c5884521adb4e
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e8bba72b396cef7c919c73710f3c5884521adb4e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `lpic_get_gsi_domain_id':
>> drivers/irqchip/irq-loongarch-cpu.c:35: undefined reference to `liointc_handle'
>> loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.c:35: undefined reference to `liointc_handle'
>> loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.c:35: undefined reference to `liointc_handle'
   loongarch64-linux-ld: drivers/irqchip/irq-loongarch-cpu.o: in function `liointc_parse_madt':
   drivers/irqchip/irq-loongarch-cpu.c:101: undefined reference to `liointc_acpi_init'


vim +35 drivers/irqchip/irq-loongarch-cpu.c

    27	
    28	static struct fwnode_handle *lpic_get_gsi_domain_id(u32 gsi)
    29	{
    30		int id;
    31		struct fwnode_handle *domain_handle = NULL;
    32	
    33		switch (gsi) {
    34		case GSI_MIN_CPU_IRQ ... GSI_MAX_CPU_IRQ:
  > 35			if (liointc_handle)
    36				domain_handle = liointc_handle;
    37			break;
    38	
    39		case GSI_MIN_LPC_IRQ ... GSI_MAX_LPC_IRQ:
    40			if (pch_lpc_handle)
    41				domain_handle = pch_lpc_handle;
    42			break;
    43	
    44		case GSI_MIN_PCH_IRQ ... GSI_MAX_PCH_IRQ:
    45			id = find_pch_pic(gsi);
    46			if (id >= 0 && pch_pic_handle[id])
    47				domain_handle = pch_pic_handle[id];
    48			break;
    49		}
    50	
    51		return domain_handle;
    52	}
    53	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-02 12:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 12:20 drivers/irqchip/irq-loongarch-cpu.c:35: undefined reference to `liointc_handle' 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.