All of lore.kernel.org
 help / color / mirror / Atom feed
* [ak:lto-5.11-2 8/43] kernel/static_call.c:443:15: warning: no previous prototype for function 'sc_func_a'
@ 2021-03-29 15:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-29 15:48 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git lto-5.11-2
head:   a1b337cb772b1ba21fda6e4413eb2ebe7e374209
commit: d6bdeda72a5a723d9e920b780e9e2bf29b2641bb [8/43] static_call: Make static call functions visible
config: x86_64-randconfig-a015-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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=d6bdeda72a5a723d9e920b780e9e2bf29b2641bb
        git remote add ak https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git
        git fetch --no-tags ak lto-5.11-2
        git checkout d6bdeda72a5a723d9e920b780e9e2bf29b2641bb
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):

>> kernel/static_call.c:443:15: warning: no previous prototype for function 'sc_func_a' [-Wmissing-prototypes]
   int __visible sc_func_a(int x)
                 ^
   kernel/static_call.c:443:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int __visible sc_func_a(int x)
   ^
   static 
   1 warning generated.


vim +/sc_func_a +443 kernel/static_call.c

   442	
 > 443	int __visible sc_func_a(int x)
   444	{
   445		return x+1;
   446	}
   447	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-29 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 15:48 [ak:lto-5.11-2 8/43] kernel/static_call.c:443:15: warning: no previous prototype for function 'sc_func_a' kernel test robot

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.