linux-next: build warning after merge of the char-misc.current tree

From: Stephen Rothwell
Date: Mon Sep 07 2020 - 19:47:29 EST


Hi all,

After merging the char-misc.current tree, today's linux-next build
(x86_64 allmodconfig) produced this warning:

In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from lib/dynamic_debug.c:16:
lib/dynamic_debug.c: In function 'ddebug_parse_query':
include/linux/kern_levels.h:5:18: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
include/linux/printk.h:369:9: note: in expansion of macro 'KERN_INFO'
369 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
lib/dynamic_debug.c:116:3: note: in expansion of macro 'pr_info'
116 | pr_info(fmt, ##__VA_ARGS__); \
| ^~~~~~~
lib/dynamic_debug.c:119:28: note: in expansion of macro 'vnpr_info'
119 | #define vpr_info(fmt, ...) vnpr_info(1, fmt, ##__VA_ARGS__)
| ^~~~~~~~~
lib/dynamic_debug.c:388:3: note: in expansion of macro 'vpr_info'
388 | vpr_info("module:%s queries:'%s'\n", modname);
| ^~~~~~~~

Introduced by commit

42f07816ac0c ("dyndbg: fix problem parsing format="foo bar"")

--
Cheers,
Stephen Rothwell

Attachment: pgpnXMPIupHz8.pgp
Description: OpenPGP digital signature