Skip to contentSkip to conversation

crypto: hisilicon/sec - Remove trailing space after \n newline

PATCH In review Colin Ian King 2 participants 2 messages Sep 1, 2024 – Sep 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: hisilicon/sec - Remove trailing space after \n newline

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

---
 drivers/crypto/hisilicon/sec/sec_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/hisilicon/sec/sec_drv.c +1 -1
index afdddf87cc34..9bafcc5aa404 100644
@@ -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;
 	}
 
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 7 lines · Colin Ian King

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

---
 drivers/crypto/hisilicon/sec/sec_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt