All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/trace/trace_osnoise.c:58:18: sparse: sparse: symbol 'osnoise_instances' was not declared. Should it be static?
@ 2021-11-11 16:29 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-11 16:29 UTC (permalink / raw)
  To: Daniel Bristot de Oliveira
  Cc: kbuild-all, linux-kernel, Steven Rostedt (VMware)

[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   debe436e77c72fcee804fb867f275e6d31aa999c
commit: dae181349f1e9d279f171afc708d2824ab35a86f tracing/osnoise: Support a list of trace_array *tr
date:   10 days ago
config: i386-randconfig-s002-20211103 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dae181349f1e9d279f171afc708d2824ab35a86f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout dae181349f1e9d279f171afc708d2824ab35a86f
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash kernel/trace/

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


sparse warnings: (new ones prefixed by >>)
>> kernel/trace/trace_osnoise.c:58:18: sparse: sparse: symbol 'osnoise_instances' was not declared. Should it be static?
   kernel/trace/trace_osnoise.c:296:14: sparse: sparse: symbol 'interface_lock' was not declared. Should it be static?

vim +/osnoise_instances +58 kernel/trace/trace_osnoise.c

    50	
    51	/*
    52	 * trace_array of the enabled osnoise/timerlat instances.
    53	 */
    54	struct osnoise_instance {
    55		struct list_head	list;
    56		struct trace_array	*tr;
    57	};
  > 58	struct list_head osnoise_instances;
    59	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34260 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* kernel/trace/trace_osnoise.c:58:18: sparse: sparse: symbol 'osnoise_instances' was not declared. Should it be static?
@ 2021-11-11 16:29 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-11 16:29 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   debe436e77c72fcee804fb867f275e6d31aa999c
commit: dae181349f1e9d279f171afc708d2824ab35a86f tracing/osnoise: Support a list of trace_array *tr
date:   10 days ago
config: i386-randconfig-s002-20211103 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dae181349f1e9d279f171afc708d2824ab35a86f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout dae181349f1e9d279f171afc708d2824ab35a86f
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash kernel/trace/

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


sparse warnings: (new ones prefixed by >>)
>> kernel/trace/trace_osnoise.c:58:18: sparse: sparse: symbol 'osnoise_instances' was not declared. Should it be static?
   kernel/trace/trace_osnoise.c:296:14: sparse: sparse: symbol 'interface_lock' was not declared. Should it be static?

vim +/osnoise_instances +58 kernel/trace/trace_osnoise.c

    50	
    51	/*
    52	 * trace_array of the enabled osnoise/timerlat instances.
    53	 */
    54	struct osnoise_instance {
    55		struct list_head	list;
    56		struct trace_array	*tr;
    57	};
  > 58	struct list_head osnoise_instances;
    59	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34260 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-11 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 16:29 kernel/trace/trace_osnoise.c:58:18: sparse: sparse: symbol 'osnoise_instances' was not declared. Should it be static? kernel test robot
2021-11-11 16:29 ` 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.