Skip to contentSkip to conversation

include/printk: fix level of pr_err and pr_warning

PATCH Applied Hubert Feurstein 2 participants 2 messages Jul 19, 2013 – Jul 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/printk: fix level of pr_err and pr_warning

The level of pr_err and pr_warning were interchanged.

---
 include/printk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/printk.h +2 -2
index 3cd7335..86bf208 100644
@@ -56,8 +56,8 @@ int dev_printf(const struct device_d *dev, const char *format, ...)
 #define pr_emerg(fmt, arg...)	__pr_printk(0, pr_fmt(fmt), ##arg)
 #define pr_alert(fmt, arg...)	__pr_printk(1, pr_fmt(fmt), ##arg)
 #define pr_crit(fmt, arg...)	__pr_printk(2, pr_fmt(fmt), ##arg)
-#define pr_warning(fmt, arg...)	__pr_printk(3, pr_fmt(fmt), ##arg)
-#define pr_err(fmt, arg...)	__pr_printk(4, pr_fmt(fmt), ##arg)
+#define pr_err(fmt, arg...)	__pr_printk(3, pr_fmt(fmt), ##arg)
+#define pr_warning(fmt, arg...)	__pr_printk(4, pr_fmt(fmt), ##arg)
 #define pr_notice(fmt, arg...)	__pr_printk(5, pr_fmt(fmt), ##arg)
 #define pr_info(fmt, arg...)	__pr_printk(6, pr_fmt(fmt), ##arg)
 #define pr_debug(fmt, arg...)	__pr_printk(7, pr_fmt(fmt), ##arg)
Signature · 7 lines
1.7.9.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 3 lines · Hubert Feurstein

The level of pr_err and pr_warning were interchanged.

Applied, thanks

Sascha

Quoted 28 lines
---
 include/printk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/printk.h +2 -2
index 3cd7335..86bf208 100644
@@ -56,8 +56,8 @@ int dev_printf(const struct device_d *dev, const char *format, ...)
 #define pr_emerg(fmt, arg...)	__pr_printk(0, pr_fmt(fmt), ##arg)
 #define pr_alert(fmt, arg...)	__pr_printk(1, pr_fmt(fmt), ##arg)
 #define pr_crit(fmt, arg...)	__pr_printk(2, pr_fmt(fmt), ##arg)
-#define pr_warning(fmt, arg...)	__pr_printk(3, pr_fmt(fmt), ##arg)
-#define pr_err(fmt, arg...)	__pr_printk(4, pr_fmt(fmt), ##arg)
+#define pr_err(fmt, arg...)	__pr_printk(3, pr_fmt(fmt), ##arg)
+#define pr_warning(fmt, arg...)	__pr_printk(4, pr_fmt(fmt), ##arg)
 #define pr_notice(fmt, arg...)	__pr_printk(5, pr_fmt(fmt), ##arg)
 #define pr_info(fmt, arg...)	__pr_printk(6, pr_fmt(fmt), ##arg)
 #define pr_debug(fmt, arg...)	__pr_printk(7, pr_fmt(fmt), ##arg)
Signature · 7 lines
1.7.9.5


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox