aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2019-11-28 08:47:51 +0800
committerPetr Mladek <[email protected]>2019-12-06 10:47:28 +0100
commit61ff72f4016804b99d28988a57e65c217f01769d (patch)
tree1fe7994f45a318b3d15b8a2fd0b61ae8042c2132
parentee19545220a8663f0ca58c3427bc08fd6a104a42 (diff)
printk: Drop pr_warning definition
With all pr_warning are removed, saftely drop pr_warning definition. Link: http://lkml.kernel.org/r/[email protected] To: [email protected] To: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
-rw-r--r--include/linux/printk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h
index c09d67edda3a..1e6108b8d15f 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -302,9 +302,8 @@ extern int kptr_restrict;
printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)
#define pr_err(fmt, ...) \
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
-#define pr_warning(fmt, ...) \
+#define pr_warn(fmt, ...) \
printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
-#define pr_warn pr_warning
#define pr_notice(fmt, ...) \
printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
#define pr_info(fmt, ...) \