lkml.org 
[lkml]   [1999]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PLIP
Thank you for the report.  You have more than one parallel port, don't you?
In such a case, please try this patch, and please let me know if it
stops the OOPS.

--- plip.c~ Thu Jun 17 16:40:13 1999
+++ plip.c Fri Jun 25 16:39:20 1999
@@ -1257,6 +1257,7 @@
if (!dev_plip[i]->name) {
printk(KERN_ERR "plip: memory squeeze.\n");
kfree(dev_plip[i]);
+ dev_plip[i] = NULL;
break;
}
sprintf(dev_plip[i]->name, "plip%d", i);
@@ -1264,6 +1265,7 @@
if (plip_init_dev(dev_plip[i],pb) || register_netdev(dev_plip[i])) {
kfree(dev_plip[i]->name);
kfree(dev_plip[i]);
+ dev_plip[i] = NULL;
} else {
i++;
}
--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.024 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site