Re: [PATCH 1/3] ARM: compressed: Pass the actual output length to the decompressor

From: Tony Lindgren
Date: Thu Apr 13 2023 - 01:21:01 EST


* Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> [230412 21:22]:
> --- a/arch/arm/boot/compressed/misc.c
> +++ b/arch/arm/boot/compressed/misc.c
> +static u32 get_inflated_image_size(void)
> +{
> + return get_unaligned_le32(input_data_end - 4);
> +}

Just something to check.. This patch should not picked for the old stable
kernels that did not have the uncompressed image size at the end. Maybe
the patch should have a Depends-on tag to prevent possible issues?

Other than that looks good to me:

Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>