public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michael Zoran <mzoran@crowfest.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Dom Cobley <popcornmix@gmail.com>
Subject: [l1k:smsc95xx_5.17 83/888] drivers/irqchip/irq-bcm2836.c:92:6: warning: no previous prototype for 'bcm2836_arm_irqchip_spin_gpu_irq'
Date: Sat, 9 Apr 2022 05:01:09 +0800	[thread overview]
Message-ID: <202204090415.1tshazr8-lkp@intel.com> (raw)

tree:   https://github.com/l1k/linux smsc95xx_5.17
head:   240f56c27361c195cd502d95aba51c6b8e5b808c
commit: d9c90edc942c69dc18b6818f69ba36024d1446fa [83/888] ARM64: Round-Robin dispatch IRQs between CPUs.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20220409/202204090415.1tshazr8-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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://github.com/l1k/linux/commit/d9c90edc942c69dc18b6818f69ba36024d1446fa
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k smsc95xx_5.17
        git checkout d9c90edc942c69dc18b6818f69ba36024d1446fa
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

>> drivers/irqchip/irq-bcm2836.c:92:6: warning: no previous prototype for 'bcm2836_arm_irqchip_spin_gpu_irq' [-Wmissing-prototypes]
      92 | void bcm2836_arm_irqchip_spin_gpu_irq(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bcm2836_arm_irqchip_spin_gpu_irq +92 drivers/irqchip/irq-bcm2836.c

    91	
  > 92	void bcm2836_arm_irqchip_spin_gpu_irq(void)
    93	{
    94		u32 i;
    95		void __iomem *gpurouting = (intc.base + LOCAL_GPU_ROUTING);
    96		u32 routing_val = readl(gpurouting);
    97	
    98		for (i = 1; i <= 3; i++) {
    99			u32 new_routing_val = (routing_val + i) & 3;
   100	
   101			if (cpu_active(new_routing_val)) {
   102				writel(new_routing_val, gpurouting);
   103				return;
   104			}
   105		}
   106	}
   107	EXPORT_SYMBOL(bcm2836_arm_irqchip_spin_gpu_irq);
   108	

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

                 reply	other threads:[~2022-04-08 21:01 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=202204090415.1tshazr8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mzoran@crowfest.net \
    --cc=popcornmix@gmail.com \
    /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