Content-Type: multipart/mixed; boundary="===============1072128387295418635==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v9 01/12] user_events: Add minimal support for trace_event into ftrace Date: Fri, 14 Jan 2022 23:30:05 +0800 Message-ID: <202201142322.DpkhCCS2-lkp@intel.com> In-Reply-To: <20220111172602.2513-2-beaub@linux.microsoft.com> List-Id: --===============1072128387295418635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Beau, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 85c62c8c3749eec02ba81217bdcac26867dc262e] url: https://github.com/0day-ci/linux/commits/Beau-Belgrave/user_events-= Enable-user-processes-to-create-and-write-to-trace-events/20220112-014042 base: 85c62c8c3749eec02ba81217bdcac26867dc262e config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20220= 114/202201142322.DpkhCCS2-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 82c8ac= a93488730ce8f66101e0f3538f14b551dd) 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/a5a2d34cbaeb90d281d8c13c7= 53f4aaaa447ec11 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Beau-Belgrave/user_events-Enable-u= ser-processes-to-create-and-write-to-trace-events/20220112-014042 git checkout a5a2d34cbaeb90d281d8c13c753f4aaaa447ec11 # 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/ sound/soc/so= f/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/trace/trace_events_user.c:1027:14: warning: performing pointer ar= ithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmeti= c] return NULL + (*pos =3D=3D 0); ~~~~ ^ 1 warning generated. vim +1027 kernel/trace/trace_events_user.c 1024 = 1025 static void *user_seq_start(struct seq_file *m, loff_t *pos) 1026 { > 1027 return NULL + (*pos =3D=3D 0); 1028 } 1029 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1072128387295418635==--