[PATCH v3 2/4] fs/squashfs: add support for ZSTD decompression

Joao Marcos Costa joaomarcos.costa at bootlin.com
Tue Aug 18 17:16:59 CEST 2020


On Tue, 18 Aug 2020 16:35:27 +0200
Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> 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

Thanks for the remarks, I am preparing a v4 and I will send it in a
few minutes.

Best regards,
Joao


More information about the U-Boot mailing list