Content-Type: multipart/mixed; boundary="===============8849771038550738107==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC V2 01/21] rv: Add Runtime Verification (RV) interface Date: Tue, 15 Feb 2022 01:50:45 +0800 Message-ID: <202202150143.3BpCqVdF-lkp@intel.com> In-Reply-To: <87606fc180e4551b19dc61609907b555214c41a1.1644830251.git.bristot@kernel.org> List-Id: --===============8849771038550738107== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Daniel, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on rostedt-trace/for-next] [also build test WARNING on lwn/docs-next linus/master v5.17-rc4 next-20220= 214] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daniel-Bristot-de-Oliveira= /The-Runtime-Verification-RV-interface/20220214-193144 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace= .git for-next config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20220= 215/202202150143.3BpCqVdF-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project ea0718= 84b0cc7210b3cc5fe858f0e892a779a23b) reproduce (this is a W=3D1 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/0day-ci/linux/commit/f99370d1c81f0a3b56d6630ff= 62631f6ecfdf8d8 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Daniel-Bristot-de-Oliveira/The-Run= time-Verification-RV-interface/20220214-193144 git checkout f99370d1c81f0a3b56d6630ff62631f6ecfdf8d8 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash kernel/trace/rv/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/trace/rv/rv.c:189:6: warning: no previous prototype for function = 'disable_monitor' [-Wmissing-prototypes] void disable_monitor(struct rv_monitor_def *mdef) ^ kernel/trace/rv/rv.c:189:1: note: declare 'static' if the function is no= t intended to be used outside of this translation unit void disable_monitor(struct rv_monitor_def *mdef) ^ static = >> kernel/trace/rv/rv.c:202:6: warning: no previous prototype for function = 'enable_monitor' [-Wmissing-prototypes] void enable_monitor(struct rv_monitor_def *mdef) ^ kernel/trace/rv/rv.c:202:1: note: declare 'static' if the function is no= t intended to be used outside of this translation unit void enable_monitor(struct rv_monitor_def *mdef) ^ static = 2 warnings generated. vim +/disable_monitor +189 kernel/trace/rv/rv.c 185 = 186 /* 187 * Disable a given runtime monitor. 188 */ > 189 void disable_monitor(struct rv_monitor_def *mdef) 190 { 191 if (mdef->monitor->enabled) { 192 mdef->monitor->enabled =3D 0; 193 mdef->monitor->stop(); 194 } 195 = 196 mdef->enabled =3D 0; 197 } 198 = 199 /* 200 * Enable a given monitor. 201 */ > 202 void enable_monitor(struct rv_monitor_def *mdef) 203 { 204 /* 205 * Reset all internal monitors before starting. 206 */ 207 mdef->monitor->reset(); 208 if (!mdef->monitor->enabled) 209 mdef->monitor->start(); 210 = 211 mdef->monitor->enabled =3D 1; 212 mdef->enabled =3D 1; 213 } 214 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8849771038550738107==--