From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761317AbYESNdt (ORCPT ); Mon, 19 May 2008 09:33:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759790AbYESNU6 (ORCPT ); Mon, 19 May 2008 09:20:58 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:45987 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1760517AbYESNU5 (ORCPT ); Mon, 19 May 2008 09:20:57 -0400 From: Alan Cox Subject: [PATCH 47/57] softdog: clean up, coding style and switch to unlocked_ioctl To: akpm@osdl.org, linux-kernel@vger.kernel.org, wim@iguana.be Date: Mon, 19 May 2008 14:09:06 +0100 Message-ID: <20080519130906.31722.25125.stgit@core> In-Reply-To: <20080519124659.31722.51847.stgit@core> References: <20080519124659.31722.51847.stgit@core> User-Agent: StGIT/0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alan Cox --- drivers/watchdog/softdog.c | 87 +++++++++++++++++++++++--------------------- 1 files changed, 46 insertions(+), 41 deletions(-) diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c index 9c36949..bb3c75e 100644 --- a/drivers/watchdog/softdog.c +++ b/drivers/watchdog/softdog.c @@ -47,19 +47,22 @@ #include #include #include - -#include +#include #define PFX "SoftDog: " #define TIMER_MARGIN 60 /* Default is 60 seconds */ static int soft_margin = TIMER_MARGIN; /* in seconds */ module_param(soft_margin, int, 0); -MODULE_PARM_DESC(soft_margin, "Watchdog soft_margin in seconds. (0