diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-02-07 14:55:01 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-10 18:06:43 +0100 |
commit | 17d25ae7f10e247bcea1f66268f746576cf9c86d (patch) | |
tree | c7660aae292dc8616d8c2fbc160d8b32a77c4c8c /fs/no-block.c | |
parent | bootconfig: Show the number of nodes on boot message (diff) | |
download | linux-17d25ae7f10e247bcea1f66268f746576cf9c86d.tar.xz linux-17d25ae7f10e247bcea1f66268f746576cf9c86d.zip |
tools/bootconfig: Fix wrong __VA_ARGS__ usage
Since printk() wrapper macro uses __VA_ARGS__ without "##" prefix, it causes
a build error if there is no variable arguments (e.g. only fmt is
specified.) To fix this error, use ##__VA_ARGS__ instead of __VAR_ARGS__.
Link: http://lkml.kernel.org/r/158108370130.2758.10893830923800978011.stgit@devnote2
Fixes: 950313ebf79c ("tools: bootconfig: Add bootconfig command")
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions