[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E6DCB67.1060105@draigBrady.com>
Date: Mon, 12 Sep 2011 10:05:43 +0100
From: Pádraig Brady <P@...igBrady.com>
To: Greg Lee <glee@...pec.com>
CC: linux-watchdog@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Add WDIOC_GETTIMELEFT ioctl support to w83627 watchdog
driver
On 09/12/2011 06:10 AM, Greg Lee wrote:
> Add WDIOC_GETTIMELEFT ioctl allowing you to check how much time is left
> on the watchdog counter before a reset occurs.
>
> Signed-off-by: Greg Lee <glee [at] swspec.com>
>
> ---
> --- linux-3.1-rc5.orig/drivers/watchdog/w83627hf_wdt.c
> +++ linux-3.1-rc5.mine/drivers/watchdog/w83627hf_wdt.c
> @@ -176,6 +176,23 @@ static int wdt_set_heartbeat(int t)
> return 0;
> }
>
> +static int wdt_get_time_left(void){
Thanks for this.
Please put the { on the next line.
s/wdt_ctrl/wdt_set_time/
s/wdt_get_time_left/wdt_get_time/
cheers,
Pádraig.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists