CC: [email protected]
TO: [email protected]
TO: Guenter Roeck <[email protected]>

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel 
chromeos-4.19
head:   59745312216d50b3bbeebb92f5aaa9a57996ebb5
commit: 24f9cfbc3921d4f2ded2adcc5e55160191d60958 [3/11] CHROMIUM: soc: cmdq: 
mediatek: add debug function
:::::: branch date: 17 hours ago
:::::: commit date: 35 hours ago
config: i386-randconfig-r011-20200612 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
        git checkout 24f9cfbc3921d4f2ded2adcc5e55160191d60958
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

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

In file included from include/linux/export.h:45:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:7,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/completion.h:12,
from drivers/soc/mediatek/mtk-cmdq-helper.c:5:
drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_client_timeout':
>> include/linux/compiler.h:25:18: warning: too many arguments for format 
>> [-Wformat-extra-args]
static struct ftrace_likely_data                       ^
include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
______r = !!(cond);                        ^
include/asm-generic/bug.h:134:2: note: in expansion of macro 'if'
if (unlikely(__ret_warn_on))          ^
include/linux/compiler.h:48:24: note: in expansion of macro '__branch_check__'
#  define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/asm-generic/bug.h:134:6: note: in expansion of macro 'unlikely'
if (unlikely(__ret_warn_on))              ^
include/asm-generic/bug.h:166:3: note: in expansion of macro 'WARN'
WARN(1, format);          ^
drivers/soc/mediatek/mtk-cmdq-helper.c:62:2: note: in expansion of macro 
'WARN_ONCE'
WARN_ONCE(1, "cmdq timeout!n", client->client.dev);
^

git remote add chrome-os 
https://chromium.googlesource.com/chromiumos/third_party/kernel
git remote update chrome-os
git checkout 24f9cfbc3921d4f2ded2adcc5e55160191d60958
vim +25 include/linux/compiler.h

1f0d69a9fc815d Steven Rostedt          2008-11-12  22  
d45ae1f7041ac5 Steven Rostedt (VMware  2017-01-17  23) #define 
__branch_check__(x, expect, is_constant) ({                      \
2026d35741f2c3 Mikulas Patocka         2018-05-30  24                   long 
______r;                                   \
134e6a034cb004 Steven Rostedt (VMware  2017-01-19 @25)                  static 
struct ftrace_likely_data                \
1f0d69a9fc815d Steven Rostedt          2008-11-12  26                           
__attribute__((__aligned__(4)))         \
45b797492a0758 Steven Rostedt          2008-11-21  27                           
__attribute__((section("_ftrace_annotated_branch"))) \
1f0d69a9fc815d Steven Rostedt          2008-11-12  28                           
______f = {                             \
134e6a034cb004 Steven Rostedt (VMware  2017-01-19  29)                          
.data.func = __func__,                  \
134e6a034cb004 Steven Rostedt (VMware  2017-01-19  30)                          
.data.file = __FILE__,                  \
134e6a034cb004 Steven Rostedt (VMware  2017-01-19  31)                          
.data.line = __LINE__,                  \
1f0d69a9fc815d Steven Rostedt          2008-11-12  32                   };      
                                        \
d45ae1f7041ac5 Steven Rostedt (VMware  2017-01-17  33)                  ______r 
= __builtin_expect(!!(x), expect);      \
d45ae1f7041ac5 Steven Rostedt (VMware  2017-01-17  34)                  
ftrace_likely_update(&______f, ______r,         \
d45ae1f7041ac5 Steven Rostedt (VMware  2017-01-17  35)                          
             expect, is_constant);      \
1f0d69a9fc815d Steven Rostedt          2008-11-12  36                   
______r;                                        \
1f0d69a9fc815d Steven Rostedt          2008-11-12  37           })
1f0d69a9fc815d Steven Rostedt          2008-11-12  38  

:::::: The code at line 25 was first introduced by commit
:::::: 134e6a034cb004ed5acd3048792de70ced1c6cf5 tracing: Show number of 
constants profiled in likely profiler

:::::: TO: Steven Rostedt (VMware) <[email protected]>
:::::: CC: Steven Rostedt (VMware) <[email protected]>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to