All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 6635/10565] samples/ftrace/ftrace-ops.c:15:14: sparse: sparse: symbol 'nr_function_calls' was not declared. Should it be static?
@ 2023-02-06 14:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-06 14:29 UTC (permalink / raw)
  To: Mark Rutland
  Cc: oe-kbuild-all, Linux Memory Management List, Steven Rostedt (Google)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   129af770823407ee115a56c69a04b440fd2fbe61
commit: b56c68f705cad0cff61fbe132c66ced2c737c65c [6635/10565] ftrace: Add sample with custom ops
config: x86_64-randconfig-s043-20230206 (https://download.01.org/0day-ci/archive/20230206/202302062223.7F7gv80M-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b56c68f705cad0cff61fbe132c66ced2c737c65c
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout b56c68f705cad0cff61fbe132c66ced2c737c65c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 olddefconfig
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash samples/ftrace/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

sparse warnings: (new ones prefixed by >>)
>> samples/ftrace/ftrace-ops.c:15:14: sparse: sparse: symbol 'nr_function_calls' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:24:14: sparse: sparse: symbol 'nr_ops_relevant' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:33:14: sparse: sparse: symbol 'nr_ops_irrelevant' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:45:6: sparse: sparse: symbol 'assist_recursion' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:49:6: sparse: sparse: symbol 'assist_rcu' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:117:19: sparse: sparse: symbol 'ops_relevant' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:118:19: sparse: sparse: symbol 'ops_irrelevant' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:166:15: sparse: sparse: symbol 'tracer_relevant' was not declared. Should it be static?
>> samples/ftrace/ftrace-ops.c:167:15: sparse: sparse: symbol 'tracer_irrelevant' was not declared. Should it be static?

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-06 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06 14:29 [linux-next:master 6635/10565] samples/ftrace/ftrace-ops.c:15:14: sparse: sparse: symbol 'nr_function_calls' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.