mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] include/printk: fix level of pr_err and pr_warning
@ 2013-07-19 13:41 Hubert Feurstein
  2013-07-22  7:34 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Hubert Feurstein @ 2013-07-19 13:41 UTC (permalink / raw)
  To: barebox

The level of pr_err and pr_warning were interchanged.

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
 include/printk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/printk.h b/include/printk.h
index 3cd7335..86bf208 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -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)
-- 
1.7.9.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] include/printk: fix level of pr_err and pr_warning
  2013-07-19 13:41 [PATCH] include/printk: fix level of pr_err and pr_warning Hubert Feurstein
@ 2013-07-22  7:34 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-07-22  7:34 UTC (permalink / raw)
  To: Hubert Feurstein; +Cc: barebox

On Fri, Jul 19, 2013 at 03:41:41PM +0200, Hubert Feurstein wrote:
> The level of pr_err and pr_warning were interchanged.
> 
> Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>

Applied, thanks

Sascha

> ---
>  include/printk.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/printk.h b/include/printk.h
> index 3cd7335..86bf208 100644
> --- a/include/printk.h
> +++ b/include/printk.h
> @@ -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)
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-22  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 13:41 [PATCH] include/printk: fix level of pr_err and pr_warning Hubert Feurstein
2013-07-22  7:34 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox