lkml.org 
[lkml]   [2022]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[jcmvbkbc-xtensa:xtensa-5.18-kprobes 43/46] arch/xtensa/kernel/patching.c:41:16: warning: no previous prototype for 'xtensa_patch_text'
tree:   https://github.com/jcmvbkbc/linux-xtensa xtensa-5.18-kprobes
head: 8d9b04fec534d588aeb00d6003276eebf2eb73e0
commit: 74da1e3bad8529ecb3c103033fda53ea2a40e5e1 [43/46] xtensa: extract instruction patching from jump label code
config: xtensa-allyesconfig (https://download.01.org/0day-ci/archive/20220515/202205150645.bh32cVqn-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.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/jcmvbkbc/linux-xtensa/commit/74da1e3bad8529ecb3c103033fda53ea2a40e5e1
git remote add jcmvbkbc-xtensa https://github.com/jcmvbkbc/linux-xtensa
git fetch --no-tags jcmvbkbc-xtensa xtensa-5.18-kprobes
git checkout 74da1e3bad8529ecb3c103033fda53ea2a40e5e1
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash

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/xtensa/kernel/patching.c:41:16: warning: no previous prototype for 'xtensa_patch_text' [-Wmissing-prototypes]
41 | void __kprobes xtensa_patch_text(unsigned long addr, const void *data,
| ^~~~~~~~~~~~~~~~~


vim +/xtensa_patch_text +41 arch/xtensa/kernel/patching.c

40
> 41 void __kprobes xtensa_patch_text(unsigned long addr, const void *data,

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-15 01:03    [W:0.040 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site