All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sunil V L <sunilvl@ventanamicro.com>
Cc: oe-kbuild-all@lists.linux.dev, Anup Patel <anup@brainfault.org>,
	Haibo Xu <haibo1.xu@intel.com>
Subject: [avpatel:riscv_acpi_b2_v2 77/82] drivers/irqchip/irq-sifive-plic.c:503:1: sparse: sparse: symbol 'plic_list' was not declared. Should it be static?
Date: Fri, 1 Dec 2023 10:19:05 +0800	[thread overview]
Message-ID: <202312011043.CuPmDevu-lkp@intel.com> (raw)

tree:   https://github.com/avpatel/linux.git riscv_acpi_b2_v2
head:   c8ded8b0d4632bdf521e8cfce564c604232c99ff
commit: 7f8c66ef2c056fa45776adbee359175697410a11 [77/82] irqchip: irq-sifive-plic: Add ACPI support
config: riscv-randconfig-r111-20231130 (https://download.01.org/0day-ci/archive/20231201/202312011043.CuPmDevu-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231201/202312011043.CuPmDevu-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312011043.CuPmDevu-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   WARNING: invalid argument to '-march': '_zihintpause'
>> drivers/irqchip/irq-sifive-plic.c:503:1: sparse: sparse: symbol 'plic_list' was not declared. Should it be static?
   drivers/irqchip/irq-sifive-plic.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h, ...):
   include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false
   drivers/irqchip/irq-sifive-plic.c: note: in included file (through include/linux/resource_ext.h, include/linux/acpi.h):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true

vim +/plic_list +503 drivers/irqchip/irq-sifive-plic.c

   502	
 > 503	LIST_HEAD(plic_list);
   504	struct plic_priv_list {
   505		struct plic_priv *priv;
   506		struct list_head list;
   507	};
   508	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-12-01  2:22 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=202312011043.CuPmDevu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anup@brainfault.org \
    --cc=haibo1.xu@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sunilvl@ventanamicro.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 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.