[PATCH] fixup! FIT: add first support for compressed images

Sascha Hauer sha at pengutronix.de
Tue Aug 9 23:45:46 PDT 2022


On Tue, Aug 09, 2022 at 05:37:23PM +0200, Ahmad Fatoum wrote:
> printf argument was missing, add it.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  common/image-fit.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/common/image-fit.c b/common/image-fit.c
> index 82357731fa7a..3e6e7fbd6d12 100644
> --- a/common/image-fit.c
> +++ b/common/image-fit.c
> @@ -625,7 +625,8 @@ int fit_open_image(struct fit_handle *handle, void *configuration,
>  		void *uc_data;
>  
>  		if (!IS_ENABLED(CONFIG_UNCOMPRESS)) {
> -			pr_err("image has compression = \"%s\", but support not compiled in\n");
> +			pr_err("image has compression = \"%s\", but support not compiled in\n",
> +			       compression);
>  			return -ENOSYS;
>  		}
>  
> -- 
> 2.30.2
> 
> 
> 

-- 
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 |



More information about the barebox mailing list