mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sunil V L <sunilvl@ventanamicro.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Anup Patel <anup@brainfault.org>
Subject: [avpatel:riscv_pmem_v1 65/78] arch/riscv/kernel/cpu.c:236:6: warning: no previous prototype for 'acpi_print_hart_info'
Date: Sat, 27 Aug 2022 05:33:44 +0800	[thread overview]
Message-ID: <202208270554.hMhYeLmO-lkp@intel.com> (raw)

tree:   https://github.com/avpatel/linux.git riscv_pmem_v1
head:   abd658639cf42f64e3b2cfe9f646ffeedb8e54d0
commit: 3a0948be4a1449e082b77cc023a8cf9098753aa8 [65/78] RISC-V: ACPI: cpu: Enable cpuinfo for ACPI systems
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220827/202208270554.hMhYeLmO-lkp@intel.com/config)
compiler: riscv64-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://github.com/avpatel/linux/commit/3a0948be4a1449e082b77cc023a8cf9098753aa8
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_pmem_v1
        git checkout 3a0948be4a1449e082b77cc023a8cf9098753aa8
        # 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=riscv SHELL=/bin/bash arch/riscv/kernel/ arch/riscv/lib/

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

All warnings (new ones prefixed by >>):

>> arch/riscv/kernel/cpu.c:236:6: warning: no previous prototype for 'acpi_print_hart_info' [-Wmissing-prototypes]
     236 | void acpi_print_hart_info(struct seq_file *m,
         |      ^~~~~~~~~~~~~~~~~~~~


vim +/acpi_print_hart_info +236 arch/riscv/kernel/cpu.c

   234	
   235	#ifdef CONFIG_ACPI
 > 236	void acpi_print_hart_info(struct seq_file *m,
   237				  unsigned long cpu)
   238	{
   239		char isa[256];
   240	
   241		if(!acpi_get_riscv_isa(cpu, isa))
   242			print_isa(m, isa);
   243	

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

                 reply	other threads:[~2022-08-26 21:34 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=202208270554.hMhYeLmO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anup@brainfault.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 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®