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

Tony Lindgren tony at atomide.com
Wed Apr 12 22:20:50 PDT 2023


* Jonathan Neuschäfer <j.neuschaefer at gmx.net> [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 at atomide.com>



More information about the linux-arm-kernel mailing list