From patchwork Sat Oct 30 21:08:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 292832 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9ULE82j025832 for ; Sat, 30 Oct 2010 21:14:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753107Ab0J3VNM (ORCPT ); Sat, 30 Oct 2010 17:13:12 -0400 Received: from mail.perches.com ([173.55.12.10]:3730 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246Ab0J3VJk (ORCPT ); Sat, 30 Oct 2010 17:09:40 -0400 Received: from Joe-Laptop.home (unknown [192.168.1.162]) by mail.perches.com (Postfix) with ESMTP id E728E24371; Sat, 30 Oct 2010 14:09:37 -0700 (PDT) From: Joe Perches To: Jiri Kosina Cc: Tomi Valkeinen , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 23/39] drivers/video/omap2/dss: Update WARN uses Date: Sat, 30 Oct 2010 14:08:40 -0700 Message-Id: <3dffcda8949a6625985223b6fbf18815b93646d7.1288471898.git.joe@perches.com> X-Mailer: git-send-email 1.7.3.1.g432b3.dirty In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 30 Oct 2010 21:14:09 +0000 (UTC) diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 8e89f60..2a98237 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -867,8 +867,7 @@ static void reset_device(struct device *dev, int check) dev->platform_data = NULL; while (dev_p < dev_end) { if (*dev_p) { - WARN("%s: struct device fields will be " - "discarded\n", + WARN(1, "%s: struct device fields will be discarded\n", __func__); break; }