crypto: hisilicon/sec - Remove trailing space after \n newline
authorColin Ian King <colin.i.king@gmail.com>
Sun, 1 Sep 2024 16:04:30 +0000 (17:04 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Sep 2024 06:50:46 +0000 (14:50 +0800)
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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec/sec_drv.c

index afdddf8..9bafcc5 100644 (file)
@@ -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;
        }