Re: [PATCH] fixup! vsprintf: retire strerrorp in favor of %pe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux