linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH] media: ascot2e.c: fix checkpatch.pl error
@ 2019-11-12 19:53 Daniel W. S. Almeida
  0 siblings, 0 replies; only message in thread
From: Daniel W. S. Almeida @ 2019-11-12 19:53 UTC (permalink / raw)
  To: serjk, aospan, mchehab, ast, daniel, kafai, songliubraving, yhs
  Cc: netdev, linux-kernel, bpf, linux-kernel-mentees,
	Daniel W. S. Almeida, linux-media

From: "Daniel W. S. Almeida" <dwlsalmeida@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@linuxfoundation.org>
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@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

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-12 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 19:53 [Linux-kernel-mentees] [PATCH] media: ascot2e.c: fix checkpatch.pl error Daniel W. S. Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).