diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-17 13:03:01 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-11 03:44:05 +0300 |
commit | 160321b2602ff8e42ea77a09f2e3f1b35e3acfaf (patch) | |
tree | 0ff7dfa9b508dc97579c1dd14ab78658465d5d1f /tools/bootconfig/include | |
parent | 9b81c9bfff4651abb28bfa6d83c8b879e467963b (diff) | |
download | linux-160321b2602ff8e42ea77a09f2e3f1b35e3acfaf.tar.xz |
tools/bootconfig: Print all error message in stderr
Print all error message in stderr. This also removes
unneeded tools/bootconfig/include/linux/printk.h.
Link: https://lkml.kernel.org/r/163187298106.2366983.15210300267326257397.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/bootconfig/include')
-rw-r--r-- | tools/bootconfig/include/linux/kernel.h | 2 | ||||
-rw-r--r-- | tools/bootconfig/include/linux/printk.h | 14 |
2 files changed, 0 insertions, 16 deletions
diff --git a/tools/bootconfig/include/linux/kernel.h b/tools/bootconfig/include/linux/kernel.h index 2d93320aa374..c4854b8e7023 100644 --- a/tools/bootconfig/include/linux/kernel.h +++ b/tools/bootconfig/include/linux/kernel.h @@ -5,8 +5,6 @@ #include <stdlib.h> #include <stdbool.h> -#include <linux/printk.h> - typedef unsigned short u16; typedef unsigned int u32; diff --git a/tools/bootconfig/include/linux/printk.h b/tools/bootconfig/include/linux/printk.h deleted file mode 100644 index 036e667596eb..000000000000 --- a/tools/bootconfig/include/linux/printk.h +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _SKC_LINUX_PRINTK_H -#define _SKC_LINUX_PRINTK_H - -#include <stdio.h> - -#define printk(fmt, ...) printf(fmt, ##__VA_ARGS__) - -#define pr_err printk -#define pr_warn printk -#define pr_info printk -#define pr_debug printk - -#endif |