Re: [PATCH v2 2/2] test: compression: add zstd uncompression test

2022-12-29 Thread Simon Glass
Hi Brandon, On Tue, 27 Dec 2022 at 11:45, Maier, Brandon L Collins wrote: > > Hi Sean, > > > From: Sean Anderson > > On 12/27/22 09:46, Brandon Maier wrote: > > > +static const unsigned long zstd_compressed_size = 197; > > > > You can use ARRAY_SIZE (or sizeof) for this. > > sizeof() - 1 as it's

Re: [PATCH v2 2/2] test: compression: add zstd uncompression test

2022-12-27 Thread Maier, Brandon L Collins
Hi Sean, > From: Sean Anderson > On 12/27/22 09:46, Brandon Maier wrote: > > +static const unsigned long zstd_compressed_size = 197; > > You can use ARRAY_SIZE (or sizeof) for this. sizeof() - 1 as it's a string, but I had put the size here manually as that's what all the other tests do. I ca

Re: [PATCH v2 2/2] test: compression: add zstd uncompression test

2022-12-27 Thread Sean Anderson
On 12/27/22 09:46, Brandon Maier wrote: > +static const unsigned long zstd_compressed_size = 197; You can use ARRAY_SIZE (or sizeof) for this. --Sean

[PATCH v2 2/2] test: compression: add zstd uncompression test

2022-12-27 Thread Brandon Maier
Signed-off-by: Brandon Maier --- test/Kconfig | 2 +- test/compression.c | 71 ++ 2 files changed, 72 insertions(+), 1 deletion(-) diff --git a/test/Kconfig b/test/Kconfig index a6b463e4d06..dd2f082ce63 100644 --- a/test/Kconfig +++ b/test/Kconf