From: kernel test robot <lkp@intel.com>
To: zhaimingbing <zhaimingbing@cmss.chinamobile.com>,
Namhyung Kim <namhyung@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Sean Christopherson <seanjc@google.com>,
Li Dong <lidong@vivo.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-perf-users@vger.kernel.org,
linux-kernel@vger.kernel.org,
zhaimingbing <zhaimingbing@cmss.chinamobile.com>
Subject: Re: [PATCH] perf help:Fail check on dynamic allocation
Date: Sat, 25 Nov 2023 00:59:43 +0800 [thread overview]
Message-ID: <202311242306.fuT56YtA-lkp@intel.com> (raw)
In-Reply-To: <20231124083910.10169-1-zhaimingbing@cmss.chinamobile.com>
Hi zhaimingbing,
kernel test robot noticed the following build errors:
[auto build test ERROR on tip/perf/core]
[also build test ERROR on perf-tools/perf-tools acme/perf/core linus/master v6.7-rc2 next-20231124]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/zhaimingbing/perf-help-Fail-check-on-dynamic-allocation/20231124-164725
base: tip/perf/core
patch link: https://lore.kernel.org/r/20231124083910.10169-1-zhaimingbing%40cmss.chinamobile.com
patch subject: [PATCH] perf help:Fail check on dynamic allocation
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231124/202311242306.fuT56YtA-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311242306.fuT56YtA-lkp@intel.com/
All errors (new ones prefixed by >>):
Makefile.config:1153: libpfm4 not found, disables libpfm4 support. Please install libpfm4-dev
PERF_VERSION = 6.7.rc1.g299992a2f4e2
builtin-help.c: In function 'add_man_viewer':
>> builtin-help.c:200:24: error: 'return' with a value, in function returning void [-Werror=return-type]
200 | return NULL;
| ^~~~
builtin-help.c:191:13: note: declared here
191 | static void add_man_viewer(const char *name)
| ^~~~~~~~~~~~~~
builtin-help.c: In function 'do_add_man_viewer_info':
builtin-help.c:218:24: error: 'return' with a value, in function returning void [-Werror=return-type]
218 | return NULL;
| ^~~~
builtin-help.c:212:13: note: declared here
212 | static void do_add_man_viewer_info(const char *name,
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [tools/build/Makefile.build:105: tools/perf/builtin-help.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile.perf:678: tools/perf/perf-in.o] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile.perf:242: sub-make] Error 2
make[3]: *** [Makefile:70: all] Error 2
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-11-24 17:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 8:39 [PATCH] perf help:Fail check on dynamic allocation zhaimingbing
2023-11-24 16:59 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-29 9:42 zhaimingbing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202311242306.fuT56YtA-lkp@intel.com \
--to=lkp@intel.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=lidong@vivo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=seanjc@google.com \
--cc=zhaimingbing@cmss.chinamobile.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).