[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208270554.hMhYeLmO-lkp@intel.com>
Date: Sat, 27 Aug 2022 05:33:44 +0800
From: kernel test robot <lkp@...el.com>
To: Sunil V L <sunilvl@...tanamicro.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Anup Patel <anup@...infault.org>
Subject: [avpatel:riscv_pmem_v1 65/78] arch/riscv/kernel/cpu.c:236:6:
warning: no previous prototype for 'acpi_print_hart_info'
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@...el.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
Powered by blists - more mailing lists