mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! vsprintf: retire strerrorp in favor of %pe
@ 2020-09-29 15:09 Ahmad Fatoum
  0 siblings, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2020-09-29 15:09 UTC (permalink / raw)
  To: barebox; +Cc: Marco Felsch

The %pe patch set missed one instance of strerrorp that
was added after the patch set was initially drafted.
Fix it up.

Reported-by: Marco Felsch <mfe@pengutronix.de>
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/of/base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 6e2fb8b281e9..4e88af7b22e2 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1588,7 +1588,7 @@ void barebox_register_fdt(const void *dtb)
 
 	root = of_unflatten_dtb(dtb);
 	if (IS_ERR(root)) {
-		pr_err("Cannot unflatten dtb: %s\n", strerrorp(root));
+		pr_err("Cannot unflatten dtb: %pe\n", root);
 		return;
 	}
 
-- 
2.28.0


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

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

* Re: [PATCH] fixup! vsprintf: retire strerrorp in favor of %pe
  2020-09-29 20:17 Ahmad Fatoum
@ 2020-09-30  7:16 ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-09-30  7:16 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox, Marco Felsch

On Tue, Sep 29, 2020 at 10:17:01PM +0200, Ahmad Fatoum wrote:
> The %pe patch set missed one instance of strerrorp that
> was added after the patch set was initially drafted.
> Fix it up.

Squashed into "of: Add common device tree register function" instead.

Sascha

> 
> Reported-by: Marco Felsch <mfe@pengutronix.de>
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  drivers/of/base.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index 6e2fb8b281e9..4e88af7b22e2 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -1588,7 +1588,7 @@ void barebox_register_fdt(const void *dtb)
>  
>  	root = of_unflatten_dtb(dtb);
>  	if (IS_ERR(root)) {
> -		pr_err("Cannot unflatten dtb: %s\n", strerrorp(root));
> +		pr_err("Cannot unflatten dtb: %pe\n", root);
>  		return;
>  	}
>  
> -- 
> 2.28.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
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] 3+ messages in thread

* [PATCH] fixup! vsprintf: retire strerrorp in favor of %pe
@ 2020-09-29 20:17 Ahmad Fatoum
  2020-09-30  7:16 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Ahmad Fatoum @ 2020-09-29 20:17 UTC (permalink / raw)
  To: barebox; +Cc: Marco Felsch

The %pe patch set missed one instance of strerrorp that
was added after the patch set was initially drafted.
Fix it up.

Reported-by: Marco Felsch <mfe@pengutronix.de>
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/of/base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 6e2fb8b281e9..4e88af7b22e2 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1588,7 +1588,7 @@ void barebox_register_fdt(const void *dtb)
 
 	root = of_unflatten_dtb(dtb);
 	if (IS_ERR(root)) {
-		pr_err("Cannot unflatten dtb: %s\n", strerrorp(root));
+		pr_err("Cannot unflatten dtb: %pe\n", root);
 		return;
 	}
 
-- 
2.28.0


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

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

end of thread, other threads:[~2020-09-30  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 15:09 [PATCH] fixup! vsprintf: retire strerrorp in favor of %pe Ahmad Fatoum
2020-09-29 20:17 Ahmad Fatoum
2020-09-30  7:16 ` Sascha Hauer

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