[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250503-hisilicon_qm-v1-0-d4ebc242bc8a@ethancedwards.com>
Date: Sat, 03 May 2025 16:21:26 -0400
From: Ethan Carter Edwards <ethan@...ancedwards.com>
To: Weili Qian <qianweili@...wei.com>, Zhou Wang <wangzhou1@...ilicon.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org,
Ethan Carter Edwards <ethan@...ancedwards.com>
Subject: [PATCH 0/2] crypto: hisilicon/qm - memory allocation cleanups
This series contains two small cleanups to improve code quality and
readability. One removes a sizeof(char) piece of code (because it
evaluates to 1 anyways) and one switches to the helper function
devm_kcalloc.
Signed-off-by: Ethan Carter Edwards <ethan@...ancedwards.com>
---
Ethan Carter Edwards (2):
crypto: hisilicon/qm - remove sizeof(char)
crypto: hisilicon/qm - replace devm_kzalloc with devm_kcalloc
drivers/crypto/hisilicon/qm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 37ff6e9a2ce321b7932d3987701757fb4d87b0e6
change-id: 20250503-hisilicon_qm-7b581a9b3799
Best regards,
--
Ethan Carter Edwards <ethan@...ancedwards.com>
Powered by blists - more mailing lists