[PATCH v3 2/4] fs/squashfs: add support for ZSTD decompression
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Aug 18 16:35:27 CEST 2020
Hello,
On Tue, 18 Aug 2020 16:31:16 +0200
Joao Marcos Costa <joaomarcos.costa at bootlin.com> wrote:
> +#if IS_ENABLED(CONFIG_ZSTD)
> +static int sqfs_zstd_decompress(void *dest, unsigned long dest_len,
> + void *source, u32 src_len)
Pass the squashfs_context structure as argument to the decompressor
function, so that sqfs_ctxt doesn't need to be a global variable.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the U-Boot
mailing list