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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 25 Aug 2016 14:35:39 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Binoy Jayan <binoy.jayan@...aro.org>
Cc:     kbuild-all@...org, Arnd Bergmann <arnd@...db.de>,
        linaro-kernel@...ts.linaro.org,
        Daniel Wagner <daniel.wagner@...-carit.de>,
        Carsten Emde <C.Emde@...dl.org>, linux-kernel@...r.kernel.org,
        "Steven Rostedt (Red Hat)" <rostedt@...dmis.org>,
        Binoy Jayan <binoy.jayan@...aro.org>
Subject: Re: [PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

Hi Binoy,

[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.8-rc3 next-20160824]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Binoy-Jayan/tracing-Deference-pointers-without-RCU-checks/20160824-192127
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   kernel/trace/trace_irqsoff.c: In function 'stop_critical_timings':
>> kernel/trace/trace_irqsoff.c:454:4: warning: passing argument 1 of 'get_delta' from incompatible pointer type [enabled by default]
   kernel/trace/trace_irqsoff.c:430:23: note: expected 'cycle_t *' but argument is of type 'cycle_t *'
   kernel/trace/trace_irqsoff.c: In function 'time_hardirqs_on':
   kernel/trace/trace_irqsoff.c:466:4: warning: passing argument 1 of 'get_delta' from incompatible pointer type [enabled by default]
   kernel/trace/trace_irqsoff.c:430:23: note: expected 'cycle_t *' but argument is of type 'cycle_t *'

vim +/get_delta +454 kernel/trace/trace_irqsoff.c

   438			this_cpu_write(ts_critical_timings,
   439				(cycle_t) trace_clock_local());
   440	
   441		if (preempt_trace() || irq_trace())
   442			start_critical_timing(CALLER_ADDR0, CALLER_ADDR1);
   443	}
   444	EXPORT_SYMBOL_GPL(start_critical_timings);
   445	
   446	void stop_critical_timings(void)
   447	{
   448		if (preempt_trace() || irq_trace())
   449			stop_critical_timing(CALLER_ADDR0, CALLER_ADDR1);
   450	
   451		if (trace_latency_critical_timings_enabled()) {
   452			trace_latency_critical_timings(
   453				raw_smp_processor_id(),
 > 454				get_delta(&ts_critical_timings));
   455		}
   456	
   457	}
   458	EXPORT_SYMBOL_GPL(stop_critical_timings);
   459	
   460	#ifdef CONFIG_IRQSOFF_TRACER
   461	#ifdef CONFIG_PROVE_LOCKING
   462	void time_hardirqs_on(unsigned long a0, unsigned long a1)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (45507 bytes)

Powered by blists - more mailing lists