All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linuxppc:next-test 74/105] arch/powerpc/mm/book3s32/kuep.c:30:6: warning: no previous prototype for 'kuep_lock'
Date: Sat, 27 Mar 2021 22:42:28 +0800	[thread overview]
Message-ID: <202103272227.yfGwc4Ys-lkp@intel.com> (raw)

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

tree:   https://github.com/linuxppc/linux next-test
head:   2f397c4b5a5bc869998bc901f9501d0d8ff1ebb4
commit: 4ba6650bebb051b165318ad9c60d6a5f3b6f86b3 [74/105] powerpc/32s: Move KUEP locking/unlocking in C
config: powerpc-randconfig-m031-20210327 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.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/linuxppc/linux/commit/4ba6650bebb051b165318ad9c60d6a5f3b6f86b3
        git remote add linuxppc https://github.com/linuxppc/linux
        git fetch --no-tags linuxppc next-test
        git checkout 4ba6650bebb051b165318ad9c60d6a5f3b6f86b3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

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/powerpc/mm/book3s32/kuep.c:30:6: warning: no previous prototype for 'kuep_lock' [-Wmissing-prototypes]
      30 | void kuep_lock(void)
         |      ^~~~~~~~~
>> arch/powerpc/mm/book3s32/kuep.c:35:6: warning: no previous prototype for 'kuep_unlock' [-Wmissing-prototypes]
      35 | void kuep_unlock(void)
         |      ^~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for HOTPLUG_CPU
   Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
   Selected by
   - PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP


vim +/kuep_lock +30 arch/powerpc/mm/book3s32/kuep.c

    29	
  > 30	void kuep_lock(void)
    31	{
    32		kuep_update(mfsr(0) | SR_NX);
    33	}
    34	
  > 35	void kuep_unlock(void)

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

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

                 reply	other threads:[~2021-03-27 14:42 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=202103272227.yfGwc4Ys-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.