On Tue, 18 Aug 2020 16:35:27 +0200 Thomas Petazzoni <thomas.petazz...@bootlin.com> wrote:
> Hello, > > On Tue, 18 Aug 2020 16:31:16 +0200 > Joao Marcos Costa <joaomarcos.co...@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 Thanks for the remarks, I am preparing a v4 and I will send it in a few minutes. Best regards, Joao