mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [avpatel:riscv_pmem_v1 65/78] arch/riscv/kernel/cpu.c:236:6: warning: no previous prototype for 'acpi_print_hart_info'
@ 2022-08-26 21:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-26 21:33 UTC (permalink / raw)
  To: Sunil V L; +Cc: kbuild-all, linux-kernel, Anup Patel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-26 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 21:33 [avpatel:riscv_pmem_v1 65/78] arch/riscv/kernel/cpu.c:236:6: warning: no previous prototype for 'acpi_print_hart_info' kernel test robot

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®