[PATCH] lz4: fix decompressor on big-endian powerpc

Rasmus Villemoes rasmus.villemoes at prevas.dk
Sun Jun 7 14:21:14 CEST 2020


On 05/06/2020 22.37, Julius Werner wrote:
>> I'm a bit puzzled about the github.com/Cyan4973/lz4
>> reference. Cyan4973 is Yann Collet, the author of lz4, and nowadays at
>> least that github url redirects to the upstream repo,
>> github.com/lz4/lz4. Grepping through all available tags and branches
>> there, the identifiers "has_content_checksum" and "lz4_frame_header" have
>> never appeared anywhere in the source (and he uses camelCase).
> 
> That comment refers to the lz4.c file that's included by the line
> right below it. That was copied 1-to-1 from Yann's code. The
> lz4_wrapper.c file was written from scratch by me.
> 

Ah, that explains in. And then my update of the comment makes it more
confusing. I'll resend with another change of that comment (and updated
commit log), but the code changes the same.

Thanks,
Rasmus


More information about the U-Boot mailing list