* [PATCH] tulip oops
@ 2000-11-14 0:16 Tobias Ringstrom
2000-11-14 0:43 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Ringstrom @ 2000-11-14 0:16 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Kernel Mailing List
This patch makes tulip/eeprom.c more robust.
/Tobias
--- eeprom.c.orig Mon Jun 19 22:42:39 2000
+++ eeprom.c Tue Nov 14 01:19:19 2000
@@ -237,6 +237,7 @@
printk(KERN_INFO "%s: Index #%d - Media %s (#%d) described "
"by a %s (%d) block.\n",
dev->name, i, medianame[leaf->media], leaf->media,
+ leaf->type >= ARRAY_SIZE(block_name) ? "UNKNOWN" :
block_name[leaf->type], leaf->type);
}
if (new_advertise)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tulip oops
2000-11-14 0:16 [PATCH] tulip oops Tobias Ringstrom
@ 2000-11-14 0:43 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2000-11-14 0:43 UTC (permalink / raw)
To: Tobias Ringstrom; +Cc: Kernel Mailing List
Tobias Ringstrom wrote:
>
> This patch makes tulip/eeprom.c more robust.
>
> /Tobias
>
> --- eeprom.c.orig Mon Jun 19 22:42:39 2000
> +++ eeprom.c Tue Nov 14 01:19:19 2000
> @@ -237,6 +237,7 @@
> printk(KERN_INFO "%s: Index #%d - Media %s (#%d) described "
> "by a %s (%d) block.\n",
> dev->name, i, medianame[leaf->media], leaf->media,
> + leaf->type >= ARRAY_SIZE(block_name) ? "UNKNOWN" :
> block_name[leaf->type], leaf->type);
> }
> if (new_advertise)
Someone else already spotted that.
The patch is applied to the HEAD (a.k.a. devel a.k.a. unstable) branch
of the tulip CVS repository at: http://sourceforge.net/projects/tulip/
It will be merged to the stable branch and 2.4.0-test11-preXX after some
testing of this and some other changes...
--
Jeff Garzik |
Building 1024 | The chief enemy of creativity is "good" sense
MandrakeSoft | -- Picasso
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-11-14 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-14 0:16 [PATCH] tulip oops Tobias Ringstrom
2000-11-14 0:43 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox