All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-4.19 3/11] include/linux/compiler.h:25:18: warning: too many arguments for format
@ 2020-06-12 19:50 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-12 19:50 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 4216 bytes --]

CC: kbuild-all(a)lists.01.org
TO: cros-kernel-buildreports(a)googlegroups.com
TO: Guenter Roeck <groeck@google.com>

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 <lkp@intel.com>

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) <rostedt@goodmis.org>
:::::: CC: Steven Rostedt (VMware) <rostedt@goodmis.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33872 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [chrome-os:chromeos-4.19 3/11] include/linux/compiler.h:25:18: warning: too many arguments for format
@ 2020-06-15  6:16 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-15  6:16 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4253 bytes --]

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 <lkp@intel.com>

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) <rostedt@goodmis.org>
:::::: CC: Steven Rostedt (VMware) <rostedt@goodmis.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33872 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-15  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 19:50 [chrome-os:chromeos-4.19 3/11] include/linux/compiler.h:25:18: warning: too many arguments for format kernel test robot
2020-06-15  6:16 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.