linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Huacai Chen <chenhuacai@loongson.cn>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Marc Zyngier <maz@kernel.org>, Jianmin Lv <lvjianmin@loongson.cn>
Subject: [linux-next:master 11182/13276] drivers/irqchip/irq-loongson-eiointc.c:60:16: error: implicit declaration of function 'cpu_logical_map'
Date: Thu, 28 Jul 2022 09:45:58 +0800	[thread overview]
Message-ID: <202207280941.Nm6nDgFH-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9250d2f72dc46a808b6aa23bf50dd670f1f52ddc
commit: dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7 [11182/13276] irqchip: Add Loongson Extended I/O interrupt controller support
config: loongarch-randconfig-r011-20220727 (https://download.01.org/0day-ci/archive/20220728/202207280941.Nm6nDgFH-lkp@intel.com/config)
compiler: loongarch64-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/next/linux-next.git/commit/?id=dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout dd281e1a1a937ee2f13bd0db5be78e5f5b811ca7
        # 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=loongarch SHELL=/bin/bash drivers/irqchip/

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 >>):

   drivers/irqchip/irq-loongson-eiointc.c: In function 'cpu_to_eio_node':
>> drivers/irqchip/irq-loongson-eiointc.c:60:16: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
      60 |         return cpu_logical_map(cpu) / CORES_PER_EIO_NODE;
         |                ^~~~~~~~~~~~~~~
   drivers/irqchip/irq-loongson-eiointc.c: At top level:
   drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent' [-Wmissing-prototypes]
     289 | struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
         |                    ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/cpu_logical_map +60 drivers/irqchip/irq-loongson-eiointc.c

    57	
    58	static int cpu_to_eio_node(int cpu)
    59	{
  > 60		return cpu_logical_map(cpu) / CORES_PER_EIO_NODE;
    61	}
    62	

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


                 reply	other threads:[~2022-07-28  1:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202207280941.Nm6nDgFH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chenhuacai@loongson.cn \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lvjianmin@loongson.cn \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox