From: Robert Love <rml@tech9.net>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Re: 2.5: further llseek cleanup (3/3)
Date: 16 Feb 2002 18:20:23 -0500 [thread overview]
Message-ID: <1013901624.851.9.camel@phantasy> (raw)
In-Reply-To: <1013900429.855.3.camel@phantasy>
In-Reply-To: <3C6EDDCA.DAB884BD@colorfullife.com> <1013900429.855.3.camel@phantasy>
On Sat, 2002-02-16 at 18:00, Robert Love wrote:
> Indeed. Thank you, Manfred.
>
> Linus, patch against 2.5.5-pre1 is attached. Please, apply.
Ugh, another one. Linus, please apply.
Robert Love
diff -urN linux-2.5.5-pre1/arch/cris/drivers/eeprom.c linux/arch/cris/drivers/eeprom.c
--- linux-2.5.5-pre1/arch/cris/drivers/eeprom.c Wed Feb 13 18:18:43 2002
+++ linux/arch/cris/drivers/eeprom.c Sat Feb 16 18:11:30 2002
@@ -470,17 +470,17 @@
/* truncate position */
if (file->f_pos < 0)
{
- file->f_pos = 0;
- unlock_kernel();
+ file->f_pos = 0;
ret = -EOVERFLOW;
}
-
+
if (file->f_pos >= eeprom.size)
{
file->f_pos = eeprom.size - 1;
ret = -EOVERFLOW;
}
+ unlock_kernel();
return ( ret );
}
prev parent reply other threads:[~2002-02-16 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-16 22:31 [PATCH] 2.5: further llseek cleanup (3/3) Manfred Spraul
2002-02-16 23:00 ` [PATCH] " Robert Love
2002-02-16 23:20 ` Robert Love [this message]
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=1013901624.851.9.camel@phantasy \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=torvalds@transmeta.com \
/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