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
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
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
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
4 matches
Mail list logo