lkml.org 
[lkml]   [1999]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectModutils in the middle of the nigt...
Date
Please patch -pre4 with this.
Never, never ever move code around in the early morning hours....

Bjorn

--- insmod/modprobe.c 1999/03/20 00:35:01 1.20
+++ insmod/modprobe.c 1999/03/20 11:07:14
@@ -314,11 +314,12 @@
for (lp = desc->name; lp; lp = lp->next) {
if ((g = extradeps(abovelist, (char *)lp->item, NULL))) {
for (i = 0; i < g->pathc; ++i) {
+ LINK *up;
/* Already there? */
- for (lp = *stack; lp; lp = lp->next)
- if (strcmp(g->pathv[i], ((DESC *)(lp->item))->kname) == 0)
+ for (up = *stack; up; up = up->next)
+ if (strcmp(g->pathv[i], ((DESC *)(up->item))->kname) == 0)
break;
- if (lp == NULL) { /* Not already there */
+ if (up == NULL) { /* Not already there */
r = build_stack(stack, g->pathv[i],
NULL, dir,
rev ? rev : desc);
-
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:50    [W:0.202 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site