[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZN8w+WVxexzMZXj7@gondor.apana.org.au>
Date: Fri, 18 Aug 2023 16:51:05 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Lucas Segarra Fernandez <lucas.segarra.fernandez@...el.com>,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
qat-linux@...el.com, alx.manpages@...il.com,
Giovanni Cabiddu <giovanni.cabiddu@...el.com>
Subject: Re: [PATCH 4/4] crypto: qat - add pm_status debugfs file
On Fri, Aug 18, 2023 at 11:46:55AM +0300, Andy Shevchenko wrote:
>
> Splitting ARRAY_SIZE() is very beneficial on its own.
> The static assert is slightly more robust for the big code then defining
> something that at some point can be missed or miscalculated. Yet we can
> survive with a macro if you thinks it's better.
Yes please go ahead with just a macro.
If the ARRYA_SIZE thing turns out to be useful for other people I'm
sure it'll be added. But I don't see much value in this particular
use.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists