Hi Binoy,

[auto build test ERROR on tip/perf/core]
[also build test ERROR 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: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=sparc64 

All errors (new ones prefixed by >>):

   kernel/trace/trace_irqsoff.c: In function 'stop_critical_timings':
>> kernel/trace/trace_irqsoff.c:454:14: error: passing argument 1 of 
>> 'get_delta' from incompatible pointer type 
>> [-Werror=incompatible-pointer-types]
       get_delta(&ts_critical_timings));
                 ^
   kernel/trace/trace_irqsoff.c:430:23: note: expected 'cycle_t * {aka long 
long unsigned int *}' but argument is of type 'cycle_t * {aka long long 
unsigned int *}'
    static inline cycle_t get_delta(cycle_t __percpu *ts)
                          ^
   kernel/trace/trace_irqsoff.c: In function 'time_hardirqs_on':
   kernel/trace/trace_irqsoff.c:466:14: error: passing argument 1 of 
'get_delta' from incompatible pointer type [-Werror=incompatible-pointer-types]
       get_delta(&ts_irqs));
                 ^
   kernel/trace/trace_irqsoff.c:430:23: note: expected 'cycle_t * {aka long 
long unsigned int *}' but argument is of type 'cycle_t * {aka long long 
unsigned int *}'
    static inline cycle_t get_delta(cycle_t __percpu *ts)
                          ^
   cc1: some warnings being treated as errors

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

   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  }

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

Attachment: .config.gz
Description: Binary data

Reply via email to