2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00
linux-next/tools/bootconfig
Masami Hiramatsu 17d25ae7f1 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: 950313ebf7 ("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>
2020-02-10 12:06:43 -05:00
..
include/linux tools/bootconfig: Fix wrong __VA_ARGS__ usage 2020-02-10 12:06:43 -05:00
samples tools: bootconfig: Add bootconfig test script 2020-01-13 13:19:39 -05:00
.gitignore
main.c tools/bootconfig: Show the number of bootconfig nodes 2020-02-05 17:17:05 -05:00
Makefile tools: bootconfig: Add bootconfig test script 2020-01-13 13:19:39 -05:00
test-bootconfig.sh tools: bootconfig: Add bootconfig test script 2020-01-13 13:19:39 -05:00