[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080730172011.8d86d215.akpm@linux-foundation.org>
Date: Wed, 30 Jul 2008 17:20:11 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: eegorov@...mvista.com
Cc: wim@...ana.be, linux-kernel@...r.kernel.org
Subject: Re: pro_arm_davinci_watchdog_fix.patch
On Tue, 22 Jul 2008 15:36:39 +0400
Egorov Evgeny <eegorov@...mvista.com> wrote:
> This patch fix bug of watchdog driver's write fuction
> which allow to prevent wdt timeout.
>
> Index: linux-2.6.18/drivers/char/watchdog/davinci_wdt.c
> ===================================================================
> --- linux-2.6.18.orig/drivers/char/watchdog/davinci_wdt.c
> +++ linux-2.6.18/drivers/char/watchdog/davinci_wdt.c
> @@ -133,13 +133,8 @@ static ssize_t
> davinci_wdt_write(struct file *file, const char *data, size_t len,
> loff_t *ppos)
> {
> - /* Can't seek (pwrite) on this device */
> - if (ppos != &file->f_pos)
> - return -ESPIPE;
> -
> if (len)
> wdt_service();
> -
> return len;
> }
Thanks, but 2.6.25's drivers/watchdog/davinci_wdt.c already has this
fix, and we're not maintaining any kernels which are older than that.
--
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