All of lore.kernel.org
 help / color / mirror / Atom feed
* [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock'
@ 2021-04-26  3:45 kernel test robot
  2021-04-29 22:27 ` Nick Desaulniers
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-04-26  3:45 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock'
  2021-04-26  3:45 [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock' kernel test robot
@ 2021-04-29 22:27 ` Nick Desaulniers
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Desaulniers @ 2021-04-29 22:27 UTC (permalink / raw)
  To: kbuild-all

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

On Sun, Apr 25, 2021 at 8:46 PM kernel test robot <lkp@intel.com> wrote:
>
> 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

Nice tree ;) Hoping to see this posted again soon; let us know when
you like us to help test/review. Looking forward to faster kernels.

> 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
>
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe(a)googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/202104261156.UkMxlZRd-lkp%40intel.com.



-- 
Thanks,
~Nick Desaulniers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-29 22:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26  3:45 [ak:lto-5.13-1-wip 36/36] arch/x86/kernel/paravirt.c:127:15: warning: no previous prototype for function 'native_steal_clock' kernel test robot
2021-04-29 22:27 ` Nick Desaulniers

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.