mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! FIT: add first support for compressed images
@ 2022-08-09 15:37 Ahmad Fatoum
  2022-08-10  6:45 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-08-09 15:37 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

printf argument was missing, add it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 common/image-fit.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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




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

* Re: [PATCH] fixup! FIT: add first support for compressed images
  2022-08-09 15:37 [PATCH] fixup! FIT: add first support for compressed images Ahmad Fatoum
@ 2022-08-10  6:45 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-08-10  6:45 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

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



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

end of thread, other threads:[~2022-08-10  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 15:37 [PATCH] fixup! FIT: add first support for compressed images Ahmad Fatoum
2022-08-10  6:45 ` Sascha Hauer

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