Skip to contentSkip to conversation

media: ascot2e.c: fix checkpatch.pl error

PATCH New Daniel W. S. Almeida 1 participant 1 message Nov 12, 2019

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

PATCH 1/1 media: ascot2e.c: fix checkpatch.pl error

From: "Daniel W. S. Almeida" <[email protected]>

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",

---
 drivers/media/dvb-frontends/ascot2e.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/ascot2e.c +1 -1
index 9b00b56230b6..bfb2d5cb6ce7 100644
@@ -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;
 	}
Signature · 6 lines
2.24.0

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees