Re: [PATCH v2 1/5] crypto: hisilicon/sgl - fixup coding style

2021-03-30 Thread Joe Perches
On Tue, 2021-03-30 at 15:39 +0800, Kai Ye wrote: > use a macro replace of a magic number. Given the use of 32 in the same test, this seems more obfuscating that useful to me. > diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c [] > @@ -9,6 +9,7 @@ >  #define

[PATCH v2 1/5] crypto: hisilicon/sgl - fixup coding style

2021-03-30 Thread Kai Ye
use a macro replace of a magic number. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index 3bff639..bd5ef40 100644 ---