mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nicholas Piggin <npiggin@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Daniel Axtens <dja@axtens.net>
Subject: [linux-stable-rc:queue/5.4 3030/9999] arch/powerpc/kernel/setup_64.c:913:6: error: no previous prototype for 'entry_flush_enable'
Date: Fri, 31 Dec 2021 06:49:55 +0800	[thread overview]
Message-ID: <202112310631.xDknJR1R-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.4
head:   8119581dca11ec464922e85b5eaa28ed6558d619
commit: b65458b6be8032c5179d4f562038575d7b3a6be3 [3030/9999] powerpc/64s: flush L1D on kernel entry
config: powerpc64-randconfig-r011-20211230 (https://download.01.org/0day-ci/archive/20211231/202112310631.xDknJR1R-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=b65458b6be8032c5179d4f562038575d7b3a6be3
        git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
        git fetch --no-tags linux-stable-rc queue/5.4
        git checkout b65458b6be8032c5179d4f562038575d7b3a6be3
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/

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

Note: the linux-stable-rc/queue/5.4 HEAD 8119581dca11ec464922e85b5eaa28ed6558d619 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/setup_64.c:262:13: error: no previous prototype for 'record_spr_defaults' [-Werror=missing-prototypes]
     262 | void __init record_spr_defaults(void)
         |             ^~~~~~~~~~~~~~~~~~~
   arch/powerpc/kernel/setup_64.c:287:32: error: no previous prototype for 'early_setup' [-Werror=missing-prototypes]
     287 | void __init __nostackprotector early_setup(unsigned long dt_ptr)
         |                                ^~~~~~~~~~~
   arch/powerpc/kernel/setup_64.c:399:6: error: no previous prototype for 'early_setup_secondary' [-Werror=missing-prototypes]
     399 | void early_setup_secondary(void)
         |      ^~~~~~~~~~~~~~~~~~~~~
   arch/powerpc/kernel/setup_64.c:420:6: error: no previous prototype for 'panic_smp_self_stop' [-Werror=missing-prototypes]
     420 | void panic_smp_self_stop(void)
         |      ^~~~~~~~~~~~~~~~~~~
   arch/powerpc/kernel/setup_64.c: In function 'initialize_cache_info':
   arch/powerpc/kernel/setup_64.c:599:70: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
     599 |                         DBG("Argh, can't find dcache properties !\n");
         |                                                                      ^
   arch/powerpc/kernel/setup_64.c:602:70: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
     602 |                         DBG("Argh, can't find icache properties !\n");
         |                                                                      ^
   arch/powerpc/kernel/setup_64.c: At top level:
>> arch/powerpc/kernel/setup_64.c:913:6: error: no previous prototype for 'entry_flush_enable' [-Werror=missing-prototypes]
     913 | void entry_flush_enable(bool enable)
         |      ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/entry_flush_enable +913 arch/powerpc/kernel/setup_64.c

   912	
 > 913	void entry_flush_enable(bool enable)
   914	{
   915		if (enable) {
   916			do_entry_flush_fixups(enabled_flush_types);
   917			on_each_cpu(do_nothing, NULL, 1);
   918		} else {
   919			do_entry_flush_fixups(L1D_FLUSH_NONE);
   920		}
   921	
   922		entry_flush = enable;
   923	}
   924	

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

                 reply	other threads:[~2021-12-30 22:50 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=202112310631.xDknJR1R-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dja@axtens.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npiggin@gmail.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®