
18 Aug
2020
18 Aug
'20
4:35 p.m.
Hello,
On Tue, 18 Aug 2020 16:31:16 +0200 Joao Marcos Costa joaomarcos.costa@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