lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 2 Dec 2022 20:43:15 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>, rostedt@...dmis.org,
        mhiramat@...nel.org
Cc:     oe-kbuild-all@...ts.linux.dev, dhowells@...hat.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] trace: Fix some checker warnings

Hi David,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.1-rc7 next-20221202]
[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/David-Howells/trace-Fix-some-checker-warnings/20221202-040957
patch link:    https://lore.kernel.org/r/166992525941.1716618.13740663757583361463.stgit%40warthog.procyon.org.uk
patch subject: [PATCH] trace: Fix some checker warnings
config: i386-randconfig-a012
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/90c2da2e191f0b26e8194f45579e8227c9950fa8
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review David-Howells/trace-Fix-some-checker-warnings/20221202-040957
        git checkout 90c2da2e191f0b26e8194f45579e8227c9950fa8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   kernel/trace/trace.c: In function 'trace_create_maxlat_file':
>> kernel/trace/trace.c:1725:48: error: 'tracing_max_lat_fops' undeclared (first use in this function); did you mean 'trace_min_max_fops'?
    1725 |                                               &tracing_max_lat_fops);
         |                                                ^~~~~~~~~~~~~~~~~~~~
         |                                                trace_min_max_fops
   kernel/trace/trace.c:1725:48: note: each undeclared identifier is reported only once for each function it appears in


vim +1725 kernel/trace/trace.c

91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1716) 
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1717) static void trace_create_maxlat_file(struct trace_array *tr,
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1718) 				     struct dentry *d_tracer)
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1719) {
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1720) 	INIT_WORK(&tr->fsnotify_work, latency_fsnotify_workfn);
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1721) 	init_irq_work(&tr->fsnotify_irqwork, latency_fsnotify_workfn_irq);
21ccc9cd721162 Steven Rostedt (VMware  2021-08-18  1722) 	tr->d_max_latency = trace_create_file("tracing_max_latency",
21ccc9cd721162 Steven Rostedt (VMware  2021-08-18  1723) 					      TRACE_MODE_WRITE,
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1724) 					      d_tracer, &tr->max_latency,
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09 @1725) 					      &tracing_max_lat_fops);
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1726) }
91edde2e6ae1dd Viktor Rosendahl (BMW   2019-10-09  1727) 

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (169167 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ