From patchwork Thu Jan 8 20:37:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 1416 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n08KYcpA025862 for ; Thu, 8 Jan 2009 12:34:38 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751068AbZAHUhy (ORCPT ); Thu, 8 Jan 2009 15:37:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755230AbZAHUhy (ORCPT ); Thu, 8 Jan 2009 15:37:54 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:38429 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbZAHUhx (ORCPT ); Thu, 8 Jan 2009 15:37:53 -0500 Received: from [200.220.139.66] (helo=pedra.chehab.org) by bombadil.infradead.org with esmtpsa (Exim 4.68 #1 (Red Hat Linux)) id 1LL1dX-0003ke-Re; Thu, 08 Jan 2009 20:37:52 +0000 Date: Thu, 8 Jan 2009 18:37:25 -0200 From: Mauro Carvalho Chehab To: Sebastian Andrzej Siewior , linux-media@vger.kernel.org Subject: Fw: [PATCH] v4l/tvp514x: Don't write after line end Message-ID: <20090108183725.7a163cb4@pedra.chehab.org> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.10.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 To: Mauro Carvalho Chehab Cc: v4l-dvb-maintainer@linuxtv.org, video4linux-list@redhat.com, Vaibhav Hiremath 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 --- drivers/media/video/tvp514x.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; } /*