All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock'
Date: Mon, 26 Apr 2021 11:45:03 +0800	[thread overview]
Message-ID: <202104261156.UkMxlZRd-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git lto-5.13-1-wip
head:   45fc24254df69291f9ebd597bc747df2eb61ee3a
commit: 45fc24254df69291f9ebd597bc747df2eb61ee3a [36/36] x86/paravirt/lto: Export native_steal_clock
config: x86_64-randconfig-a002-20210426 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project d941863de2becb3d8d2e00676fc7125974934c7f)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git/commit/?id=45fc24254df69291f9ebd597bc747df2eb61ee3a
        git remote add ak https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git
        git fetch --no-tags ak lto-5.13-1-wip
        git checkout 45fc24254df69291f9ebd597bc747df2eb61ee3a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock' [-Wmissing-prototypes]
   __visible u64 native_steal_clock(int cpu)
                 ^
   arch/x86/kernel/paravirt.c:127:11: note: declare 'static' if the function is not intended to be used outside of this translation unit
   __visible u64 native_steal_clock(int cpu)
             ^
             static 
   1 warning generated.


vim +/native_steal_clock +127 arch/x86/kernel/paravirt.c

   126	
 > 127	__visible u64 native_steal_clock(int cpu)
   128	{
   129		return 0;
   130	}
   131	

---
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: 32043 bytes --]

             reply	other threads:[~2021-04-26  3:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26  3:45 kernel test robot [this message]
2021-04-29 22:27 ` [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock' Nick Desaulniers

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=202104261156.UkMxlZRd-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.