Skip to contentSkip to conversation

test12-pre8 i2o_lan.c

PATCH New Frank Davis 1 participant 1 message Dec 11, 2000

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test12-pre8 i2o_lan.c

Hello,
I just downloaded test12-pre8 from ftp.kernel.org and received the following error, as I did in the old test12-pre8. The following error appears to fix the problem.
Regards,
Frank

i2o_lan.c:116: warning: initialization makes integer from pointer
without a cast
i2o_lan.c:1404: structure has no member named 'next' make[2]: *** [i2o_lan.o] Error 1
make[2]: *** Leaving directory '/usr/src/linux/drivers/i2o

i2o/i2o_lan.c renamed from i2o/i2o_lan.c.old +1 -1
@@ -1401,7 +1401,7 @@
 	atomic_set(&priv->tx_out, 0);
 	priv->tx_count = 0;
 
-	priv->i2o_batch_send_task.next    = NULL;
+	INIT_LIST_HEAD(&priv->i2o_batch_send_task.list);
 	priv->i2o_batch_send_task.sync    = 0;
 	priv->i2o_batch_send_task.routine = (void *)i2o_lan_batch_send;
 	priv->i2o_batch_send_task.data    = (void *)dev;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/