tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   642b151f45dd54809ea00ecd3976a56c1ec9b53d
commit: 598a90f2002c4c4daee24d76d24e8270c7075eef scsi: qla2xxx: add ring buffer 
for tracing debug logs
date:   10 weeks ago
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 598a90f2002c4c4daee24d76d24e8270c7075eef
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <[email protected]>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/trace/define_trace.h:102,
from include/trace/events/qla.h:39,
from drivers/scsi/qla2xxx/qla_dbg.c:77:
include/trace/events/qla.h: In function 'trace_event_raw_event_qla_log_event':
include/trace/trace_events.h:691:9: warning: function 
'trace_event_raw_event_qla_log_event' might be a candidate for 'gnu_printf' 
format attribute [-Wsuggest-attribute=format]
691 |  struct trace_event_raw_##call *entry;             |         
^~~~~~~~~~~~~~~~
include/trace/events/qla.h:12:1: note: in expansion of macro 
'DECLARE_EVENT_CLASS'
12 | DECLARE_EVENT_CLASS(qla_log_event,
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/compiler_types.h:68,
from <command-line>:
include/trace/events/qla.h: In function 'perf_trace_qla_log_event':
>> arch/s390/include/asm/lowcore.h:191:33: warning: function 
>> 'perf_trace_qla_log_event' might be a candidate for 'gnu_printf' format 
>> attribute [-Wsuggest-attribute=format]
191 | #define S390_lowcore (*((struct lowcore *) 0))
|                                 ^~~~~~~
include/linux/compiler-gcc.h:58:26: note: in definition of macro 'RELOC_HIDE'
58 |  (typeof(ptr)) (__ptr + (off));              |                          ^~~
>> include/asm-generic/percpu.h:44:31: note: in expansion of macro 
>> 'SHIFT_PERCPU_PTR'
44 | #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset)
|                               ^~~~~~~~~~~~~~~~
>> arch/s390/include/asm/percpu.h:12:25: note: in expansion of macro 
>> 'S390_lowcore'
12 | #define __my_cpu_offset S390_lowcore.percpu_offset
|                         ^~~~~~~~~~~~
>> include/asm-generic/percpu.h:44:53: note: in expansion of macro 
>> '__my_cpu_offset'
44 | #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset)
|                                                     ^~~~~~~~~~~~~~~
>> include/linux/percpu-defs.h:242:2: note: in expansion of macro 
>> 'arch_raw_cpu_ptr'
242 |  arch_raw_cpu_ptr(ptr);               |  ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:252:27: note: in expansion of macro 'raw_cpu_ptr'
252 | #define this_cpu_ptr(ptr) raw_cpu_ptr(ptr)
|                           ^~~~~~~~~~~
>> include/trace/perf.h:48:9: note: in expansion of macro 'this_cpu_ptr'
48 |  head = this_cpu_ptr(event_call->perf_events);            |         
^~~~~~~~~~~~
include/trace/events/qla.h:12:1: note: in expansion of macro 
'DECLARE_EVENT_CLASS'
12 | DECLARE_EVENT_CLASS(qla_log_event,
| ^~~~~~~~~~~~~~~~~~~

vim +191 arch/s390/include/asm/lowcore.h

cbb870c8221147 Heiko Carstens 2010-02-26  190  
c667aeacc16e0d Heiko Carstens 2015-12-31 @191  #define S390_lowcore (*((struct 
lowcore *) 0))
cbb870c8221147 Heiko Carstens 2010-02-26  192  

:::::: The code at line 191 was first introduced by commit
:::::: c667aeacc16e0de9e205faa93f57121d6f691973 s390: rename struct _lowcore to 
struct lowcore

:::::: TO: Heiko Carstens <[email protected]>
:::::: CC: Martin Schwidefsky <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

Reply via email to