Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758281AbYFBRiw (ORCPT ); Mon, 2 Jun 2008 13:38:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753222AbYFBRii (ORCPT ); Mon, 2 Jun 2008 13:38:38 -0400 Received: from rtsoft3.corbina.net ([85.21.88.6]:14422 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752364AbYFBRih (ORCPT ); Mon, 2 Jun 2008 13:38:37 -0400 Date: Mon, 2 Jun 2008 21:38:36 +0400 From: Anton Vorontsov To: Kumar Gala , Wim Van Sebroeck Cc: Andrew Morton , Jochen Friedrich , Stephen Rothwell , Segher Boessenkool , Scott Wood , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/8] [WATCHDOG] mpc83xx_wdt: fix checkpatch issues Message-ID: <20080602173836.GA30705@polina.dev.rtsoft.ru> References: <20080602173726.GA24556@polina.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline In-Reply-To: <20080602173726.GA24556@polina.dev.rtsoft.ru> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2650 Lines: 78 Quite tired of these warnings ;-), checkpatch spitting them when seeing the rename patch. WARNING: Use #include instead of #25: FILE: watchdog/mpc83xx_wdt.c:25: +#include WARNING: Use #include instead of #26: FILE: watchdog/mpc83xx_wdt.c:26: +#include WARNING: line over 80 characters #45: FILE: watchdog/mpc83xx_wdt.c:45: +MODULE_PARM_DESC(timeout, "Watchdog timeout in ticks. (0start, sizeof (struct mpc83xx_wdt)); total: 0 errors, 5 warnings, 230 lines checked Signed-off-by: Anton Vorontsov --- drivers/watchdog/mpc83xx_wdt.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/mpc83xx_wdt.c b/drivers/watchdog/mpc83xx_wdt.c index b16c5cd..6905712 100644 --- a/drivers/watchdog/mpc83xx_wdt.c +++ b/drivers/watchdog/mpc83xx_wdt.c @@ -22,8 +22,8 @@ #include #include #include -#include -#include +#include +#include struct mpc83xx_wdt { __be32 res0; @@ -42,11 +42,13 @@ static struct mpc83xx_wdt __iomem *wd_base; static u16 timeout = 0xffff; module_param(timeout, ushort, 0); -MODULE_PARM_DESC(timeout, "Watchdog timeout in ticks. (0start, sizeof (struct mpc83xx_wdt)); + wd_base = ioremap(r->start, sizeof(struct mpc83xx_wdt)); if (wd_base == NULL) { ret = -ENOMEM; -- 1.5.5.1 -- 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/