From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dev.rtsoft.ru (unknown [85.21.88.2]) by ozlabs.org (Postfix) with SMTP id A8F86DDEF5 for ; Fri, 16 May 2008 02:53:47 +1000 (EST) Date: Thu, 15 May 2008 20:53:45 +0400 From: Anton Vorontsov To: Kumar Gala , Wim Van Sebroeck Subject: [PATCH 1/8] [WATCHDOG] mpc83xx_wdt: fix checkpatch issues Message-ID: <20080515165345.GA3887@polina.dev.rtsoft.ru> References: <20080515165250.GA30738@polina.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 In-Reply-To: <20080515165250.GA30738@polina.dev.rtsoft.ru> Cc: Stephen Rothwell , linuxppc-dev@ozlabs.org, Chen Gong , Scott Wood , Timur Tabi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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