Content-Type: multipart/mixed; boundary="===============5131505684586866812==" MIME-Version: 1.0 From: Masami Hiramatsu To: kbuild-all@lists.01.org Subject: Re: [PATCH v4 02/10] user_events: Add minimal support for trace_event into ftrace Date: Mon, 08 Nov 2021 11:32:25 +0900 Message-ID: <20211108113225.664c0594e0ca100e458de92b@kernel.org> In-Reply-To: <202111050558.mLGUj5jg-lkp@intel.com> List-Id: --===============5131505684586866812== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, 5 Nov 2021 05:34:31 +0800 kernel test robot wrote: > Hi Beau, > = > Thank you for the patch! Yet something to improve: > = > [auto build test ERROR on rostedt-trace/for-next] > [also build test ERROR on shuah-kselftest/next linux/master linus/master = v5.15 next-20211104] > [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/Beau-Belgrave/user_event= s-Enable-user-processes-to-create-and-write-to-trace-events/20211105-010650 > base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-tra= ce.git for-next > config: powerpc-allmodconfig (attached as .config) > compiler: powerpc-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/0day-ci/linux/commit/da0961ad45aa1192b47b8a8= 0de6b17437434ae4a > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Beau-Belgrave/user_events-Enable= -user-processes-to-create-and-write-to-trace-events/20211105-010650 > git checkout da0961ad45aa1192b47b8a80de6b17437434ae4a > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cro= ss O=3Dbuild_dir ARCH=3Dpowerpc SHELL=3D/bin/bash kernel/trace/ > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > kernel/trace/trace_events_user.c: In function 'user_event_parse': > >> kernel/trace/trace_events_user.c:665:9: error: too few arguments to fu= nction 'dyn_event_add' > 665 | dyn_event_add(&user->devent); > | ^~~~~~~~~~~~~ > In file included from kernel/trace/trace_events_user.c:23: > kernel/trace/trace_dynevent.h:79:19: note: declared here > 79 | static inline int dyn_event_add(struct dyn_event *ev, > | ^~~~~~~~~~~~~ You need to pass &user->call too :) Thank you, -- = Masami Hiramatsu --===============5131505684586866812==--