LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Guo Ren <guoren@linux.alibaba.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Liu Shaohua <liush@allwinnertech.com>
Subject: [csky-linux:v5.14-rc2-of-delay-cpu-available 3/5] arch/riscv/mm/init.c:905:13: warning: no previous prototype for 'pbmt_init'
Date: Wed, 28 Jul 2021 02:17:18 +0800	[thread overview]
Message-ID: <202107280212.L14X00Pm-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

tree:   https://github.com/c-sky/csky-linux v5.14-rc2-of-delay-cpu-available
head:   f6c22a2278708ce7227c42294e351ff53e8b279a
commit: 04be54eab2e8df9ac47f9d7e6ede22953f9f78e2 [3/5] riscv: pgtable: Add "PBMT" extension supported
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 10.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
        # https://github.com/c-sky/csky-linux/commit/04be54eab2e8df9ac47f9d7e6ede22953f9f78e2
        git remote add csky-linux https://github.com/c-sky/csky-linux
        git fetch --no-tags csky-linux v5.14-rc2-of-delay-cpu-available
        git checkout 04be54eab2e8df9ac47f9d7e6ede22953f9f78e2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=riscv 

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

All warnings (new ones prefixed by >>):

>> arch/riscv/mm/init.c:905:13: warning: no previous prototype for 'pbmt_init' [-Wmissing-prototypes]
     905 | void __init pbmt_init(void)
         |             ^~~~~~~~~


vim +/pbmt_init +905 arch/riscv/mm/init.c

   903	
   904	#ifdef CONFIG_64BIT
 > 905	void __init pbmt_init(void)
   906	{
   907		struct device_node *cpu;
   908	
   909		cpu = of_find_node_by_path("/cpus");
   910		if (!cpu || of_property_read_bool(cpu, "pbmt-extension"))
   911			return;
   912	
   913		memset(&__riscv_pbmt, 0, sizeof(__riscv_pbmt));
   914	}
   915	#endif
   916	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 70082 bytes --]

                 reply	other threads:[~2021-07-27 18:18 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=202107280212.L14X00Pm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=guoren@linux.alibaba.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liush@allwinnertech.com \
    --subject='Re: [csky-linux:v5.14-rc2-of-delay-cpu-available 3/5] arch/riscv/mm/init.c:905:13: warning: no previous prototype for '\''pbmt_init'\''' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).