From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Cc: rgooch@atnf.csiro.au, Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: [patch] 2.4.15 drivers/block/floppy.c devfs out by one
Date: Mon, 26 Nov 2001 00:08:50 +1100 [thread overview]
Message-ID: <12713.1006693730@ocs3.intra.ocs.com.au> (raw)
No obvious floppy maintainer to send this to. Out by one bug in
register_devfs_entries, on machines that return floppy type 7 (IBM
Thinkpad i1200/1300 Model 1161-43M), floppy.o gets an oops while
evaluating table[table_sup[UDP->cmos][i]].
BTW, this breaks RH 7.x and Mandrake 8.x installs on this laptop.
Index: 15.1/drivers/block/floppy.c
--- 15.1/drivers/block/floppy.c Sat, 24 Nov 2001 05:28:08 +1100 kaos (linux-2.5/Y/b/32_floppy.c 1.1 644)
+++ 15.1(w)/drivers/block/floppy.c Sun, 25 Nov 2001 23:58:32 +1100 kaos (linux-2.5/Y/b/32_floppy.c 1.1 644)
@@ -3917,7 +3917,7 @@ static void __init register_devfs_entrie
{NULL, t360, t1200, t3in+5+8, t3in+5, t3in, t3in};
base_minor = (drive < 4) ? drive : (124 + drive);
- if (UDP->cmos <= NUMBER(default_drive_params)) {
+ if (UDP->cmos < NUMBER(default_drive_params)) {
i = 0;
do {
char name[16];
reply other threads:[~2001-11-25 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=12713.1006693730@ocs3.intra.ocs.com.au \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
--cc=rgooch@atnf.csiro.au \
/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
all inboxes | Powered by JetHome®