diff mbox

v4l/tvp514x: Don't write after line end

Message ID 20090108183725.7a163cb4@pedra.chehab.org (mailing list archive)
State Accepted
Headers show

Commit Message

Mauro Carvalho Chehab Jan. 8, 2009, 8:37 p.m. UTC
Sebastian,

Please, always c/c linux-media@vger.kernel.org, when submitting patches. This allows patchwork.kernel.org to track it.

Forwarded message:

Date: Thu, 8 Jan 2009 16:49:17 +0100
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: v4l-dvb-maintainer@linuxtv.org, video4linux-list@redhat.com,        Vaibhav Hiremath <hvaibhav@ti.com>
Subject: [PATCH] v4l/tvp514x: Don't write after line end


to avoid:
| tvp514x 0-005c: No platform data
| !!<3>tvp514x 0-005d: No platform data

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 drivers/media/video/tvp514x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Sebastian Sewior Jan. 9, 2009, 8:23 a.m. UTC | #1
Mauro Carvalho Chehab wrote:
> Please, always c/c linux-media@vger.kernel.org, when submitting patches. This allows patchwork.kernel.org to track it.
Will do in future.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/video/tvp514x.c b/drivers/media/video/tvp514x.c
index ac9aa40..ffb8f7a 100644
--- a/drivers/media/video/tvp514x.c
+++ b/drivers/media/video/tvp514x.c
@@ -1401,7 +1401,7 @@  tvp514x_probe(struct i2c_client *client, const struct i2c_device_id *id)
 
 	decoder->pdata = client->dev.platform_data;
 	if (!decoder->pdata) {
-		v4l_err(client, "No platform data\n!!");
+		v4l_err(client, "No platform data!!\n");
 		return -ENODEV;
 	}
 	/*