Re: [PATCH v3 8/8] gzip: move crc state into gunzip state

2024-04-29 Thread Jan Beulich
On 24.04.2024 18:34, Daniel P. Smith wrote: > Move the crc and its state into struct gunzip_state. In the process, expand > the > only use of CRC_VALUE as it is hides what is being compared. Andrew mentioned uint32_t only for the description, but I think you want (maybe even need) to go further

Re: [PATCH v3 8/8] gzip: move crc state into gunzip state

2024-04-25 Thread Andrew Cooper
On 24/04/2024 5:34 pm, Daniel P. Smith wrote: > Move the crc and its state into struct gunzip_state. In the process, expand > the > only use of CRC_VALUE as it is hides what is being compared. "All variables here should be uint32_t rather than unsigned long, which halves the storage space

[PATCH v3 8/8] gzip: move crc state into gunzip state

2024-04-24 Thread Daniel P. Smith
Move the crc and its state into struct gunzip_state. In the process, expand the only use of CRC_VALUE as it is hides what is being compared. Signed-off-by: Daniel P. Smith --- xen/common/gzip/gunzip.c | 11 +++ xen/common/gzip/inflate.c | 14 +- 2 files changed, 12