From: Egorov Evgeny <eegorov@ru.mvista.com>
To: wim@iguana.be
Cc: linux-kernel@vger.kernel.org
Subject: pro_arm_davinci_watchdog_fix.patch
Date: Tue, 22 Jul 2008 15:36:39 +0400 [thread overview]
Message-ID: <1216726599.3538.3.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
This patch fix bug of watchdog driver's write fuction which allow to
prevent wdt timeout.
[-- Attachment #2: pro_arm_davinci_watchdog_fix.patch --]
[-- Type: text/x-patch, Size: 800 bytes --]
Source: MontaVista Software, Inc.
MR:26833
Type: Fix Bug
Disposition: Submitted to Wim van Sebroek
Signed-off-by: Egorov Evgeny <eegorov@ru.mvista.com>
Description:
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;
}
next reply other threads:[~2008-07-22 12:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 11:36 Egorov Evgeny [this message]
2008-07-31 0:20 ` pro_arm_davinci_watchdog_fix.patch Andrew Morton
-- 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=1216726599.3538.3.camel@localhost.localdomain \
--to=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