[Linux-kernel-mentees] [PATCH] media: ascot2e.c: fix checkpatch.pl error

Daniel W. S. Almeida dwlsalmeida at gmail.com
Tue Nov 12 19:53:21 UTC 2019


From: "Daniel W. S. Almeida" <dwlsalmeida at gmail.com>

This patch fixes the following scripts/checkpatch.pl error:

ERROR: space required after that ',' (ctx:VxV)
+		dev_warn(&priv->i2c->dev,"wr reg=%04x: len=%d is too big!\n",

Suggested-by: Shuah Khan <skhan at linuxfoundation.org>
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida at gmail.com>
---
 drivers/media/dvb-frontends/ascot2e.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/ascot2e.c b/drivers/media/dvb-frontends/ascot2e.c
index 9b00b56230b6..bfb2d5cb6ce7 100644
--- a/drivers/media/dvb-frontends/ascot2e.c
+++ b/drivers/media/dvb-frontends/ascot2e.c
@@ -124,7 +124,7 @@ static int ascot2e_write_regs(struct ascot2e_priv *priv,
 	};
 
 	if (len + 1 > sizeof(buf)) {
-		dev_warn(&priv->i2c->dev,"wr reg=%04x: len=%d is too big!\n",
+		dev_warn(&priv->i2c->dev, "wr reg=%04x: len=%d is too big!\n",
 			 reg, len + 1);
 		return -E2BIG;
 	}
-- 
2.24.0



More information about the Linux-kernel-mentees mailing list