From 7fd466c95e46550a2abb6dc3e3f32dc8bc07b44e Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Wed, 4 Feb 2026 12:30:34 -0600 Subject: [PATCH] qdl: Propagate the success of decode_sahara_config() Commit '44e7be00aca0 ("sahara: Drop "single image" concept")' cleaned up the handling of programmer selection, but in the new flow failed to propagate the successful decoding of the sahara_config. Fixes: 44e7be00aca0 ("sahara: Drop "single image" concept") Signed-off-by: Bjorn Andersson --- qdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdl.c b/qdl.c index 28ce750..d079a0c 100644 --- a/qdl.c +++ b/qdl.c @@ -400,7 +400,7 @@ static int decode_programmer(char *s, struct sahara_image *images) ret = decode_sahara_config(&archive, images); if (ret < 0 || ret == 1) - return -1; + return ret; images[SAHARA_ID_EHOSTDL_IMG] = archive; }