mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: kernel test robot <lkp@intel.com>, Justin Chen <justinpopo6@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Marc Zyngier <maz@kernel.org>
Subject: Re: drivers/irqchip/irq-bcm7038-l1.c:312:13: error: implicit declaration of function 'cpu_logical_map'
Date: Thu, 23 Jul 2020 21:14:55 -0700	[thread overview]
Message-ID: <6d4d8b18-8c55-2ad9-ec57-0e5eb65a8dec@gmail.com> (raw)
In-Reply-To: <202007241234.G6Yf8u6V%lkp@intel.com>



On 7/23/2020 9:07 PM, kernel test robot wrote:
> Hi Justin,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   d15be546031cf65a0fc34879beca02fd90fe7ac7
> commit: 6468fc18b00685c82408f40e9569c0d3527862b8 irqchip/irq-bcm7038-l1: Add PM support
> date:   9 months ago
> config: mips-randconfig-r033-20200724 (attached as .config)
> compiler: mipsel-linux-gcc (GCC) 9.3.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
>         git checkout 6468fc18b00685c82408f40e9569c0d3527862b8
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/irqchip/irq-bcm7038-l1.c: In function 'bcm7038_l1_suspend':
>>> drivers/irqchip/irq-bcm7038-l1.c:312:13: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
>      312 |  boot_cpu = cpu_logical_map(0);
>          |             ^~~~~~~~~~~~~~~
>    drivers/irqchip/irq-bcm7038-l1.c: At top level:
>    drivers/irqchip/irq-bcm7038-l1.c:393:12: warning: no previous prototype for 'bcm7038_l1_of_init' [-Wmissing-prototypes]
>      393 | int __init bcm7038_l1_of_init(struct device_node *dn,
>          |            ^~~~~~~~~~~~~~~~~~
>    cc1: some warnings being treated as errors
> 
> vim +/cpu_logical_map +312 drivers/irqchip/irq-bcm7038-l1.c

Ah this needs to be guarded with CONFIG_SMP which this failing .config
did not enable, I will submit a fix for that first thing in the morning.
-- 
Florian

  reply	other threads:[~2020-07-24  4:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24  4:07 kernel test robot
2020-07-24  4:14 ` Florian Fainelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-17  9:29 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=6d4d8b18-8c55-2ad9-ec57-0e5eb65a8dec@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=justinpopo6@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --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

all inboxes | Powered by JetHome®