public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: eegorov@ru.mvista.com
Cc: wim@iguana.be, linux-kernel@vger.kernel.org
Subject: Re: pro_arm_davinci_watchdog_fix.patch
Date: Wed, 30 Jul 2008 17:20:11 -0700	[thread overview]
Message-ID: <20080730172011.8d86d215.akpm@linux-foundation.org> (raw)
In-Reply-To: <1216726599.3538.3.camel@localhost.localdomain>

On Tue, 22 Jul 2008 15:36:39 +0400
Egorov Evgeny <eegorov@ru.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.


  reply	other threads:[~2008-07-31  0:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 11:36 pro_arm_davinci_watchdog_fix.patch Egorov Evgeny
2008-07-31  0:20 ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-30 15:15 pro_arm_davinci_watchdog_fix.patch Egorov Evgeny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080730172011.8d86d215.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=eegorov@ru.mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wim@iguana.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox