Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754433Ab0LFWHm (ORCPT ); Mon, 6 Dec 2010 17:07:42 -0500 Received: from mail.perches.com ([173.55.12.10]:2351 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754389Ab0LFWFX (ORCPT ); Mon, 6 Dec 2010 17:05:23 -0500 From: Joe Perches To: Jiri Kosina Cc: linux-kernel@vger.kernel.org Subject: [PATCH 21/29] include/linux/device.h: Update WARN uses Date: Mon, 6 Dec 2010 14:05:11 -0800 Message-Id: <68da45054628c4e6b4ce77b52b73ae4bad87dde9.1291670105.git.joe@perches.com> X-Mailer: git-send-email 1.7.3.3.398.g0b0cd.dirty In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 934 Lines: 28 Macro argument neatening. Signed-off-by: Joe Perches --- include/linux/device.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/device.h b/include/linux/device.h index 1e2d335..129cc25 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -743,7 +743,7 @@ do { \ * file/line information and a backtrace. */ #define dev_WARN(dev, format, arg...) \ - WARN(1, "Device: %s\n" format, dev_driver_string(dev), ## arg); + WARN(1, "Device: %s\n" format, dev_driver_string(dev), ##arg); /* Create alias, so I can be autoloaded. */ #define MODULE_ALIAS_CHARDEV(major,minor) \ -- 1.7.3.2.245.g03276.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/