2023-04-13 05:50:20

by Tony Lindgren

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

* Jonathan Neuschäfer <[email protected]> [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 <[email protected]>