Re: [PATCH] of: overlay: fix warning about format specifier in debug message

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

 



On Sun, Jan 31, 2021 at 09:38:43PM +0100, Ahmad Fatoum wrote:
> GCC catches a -Wformat-extra-args. Fix it.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
> ---
>  drivers/of/overlay.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks

Sascha

> 
> diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
> index e2a68b0ae8bd..8f4ee3f0a245 100644
> --- a/drivers/of/overlay.c
> +++ b/drivers/of/overlay.c
> @@ -223,7 +223,7 @@ int of_process_overlay(struct device_node *root,
>  
>  		target = find_target(root, fragment);
>  		if (!target)
> -			pr_debug("cannot find target for fragment",
> +			pr_debug("cannot find target for fragment %s\n",
>  				 fragment->name);
>  
>  		err = process(target, ovl, data);
> -- 
> 2.30.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