mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] crypto: hisilicon/sec - Remove trailing space after \n newline
@ 2024-09-01 16:04 Colin Ian King
  2024-09-06  7:10 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-09-01 16:04 UTC (permalink / raw)
  To: Herbert Xu, David S . Miller, Uwe Kleine-König, linux-crypto
  Cc: kernel-janitors, linux-kernel

There is a extraneous space after a newline in a dev_err message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/crypto/hisilicon/sec/sec_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/hisilicon/sec/sec_drv.c b/drivers/crypto/hisilicon/sec/sec_drv.c
index afdddf87cc34..9bafcc5aa404 100644
--- a/drivers/crypto/hisilicon/sec/sec_drv.c
+++ b/drivers/crypto/hisilicon/sec/sec_drv.c
@@ -458,7 +458,7 @@ static void sec_ipv6_hashmask(struct sec_dev_info *info, u32 hash_mask[])
 static int sec_ipv4_hashmask(struct sec_dev_info *info, u32 hash_mask)
 {
 	if (hash_mask & SEC_HASH_IPV4_MASK) {
-		dev_err(info->dev, "Sec Ipv4 Hash Mask Input Error!\n ");
+		dev_err(info->dev, "Sec Ipv4 Hash Mask Input Error!\n");
 		return -EINVAL;
 	}
 
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] crypto: hisilicon/sec - Remove trailing space after \n newline
  2024-09-01 16:04 [PATCH][next] crypto: hisilicon/sec - Remove trailing space after \n newline Colin Ian King
@ 2024-09-06  7:10 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-09-06  7:10 UTC (permalink / raw)
  To: Colin Ian King
  Cc: David S . Miller, Uwe Kleine-König, linux-crypto,
	kernel-janitors, linux-kernel

On Sun, Sep 01, 2024 at 05:04:30PM +0100, Colin Ian King wrote:
> There is a extraneous space after a newline in a dev_err message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/crypto/hisilicon/sec/sec_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-06  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-01 16:04 [PATCH][next] crypto: hisilicon/sec - Remove trailing space after \n newline Colin Ian King
2024-09-06  7:10 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®