Message ID | 20240901160430.143143-1-colin.i.king@gmail.com |
---|---|
State | Accepted |
Commit | a0e435e808d60b163d7bf78ec1002f80a5d127d5 |
Headers | show |
Series | [next] crypto: hisilicon/sec - Remove trailing space after \n newline | expand |
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.
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; }
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(-)