lkml.org 
[lkml]   [2000]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] tulip oops
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.026 / U:1.300 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site