[PATCH]test12-pre8 i2o_lan.c

From: Frank Davis (fdavis112@juno.com)
Date: Sun Dec 10 2000 - 18:57:18 EST


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

--- drivers/i2o/i2o_lan.c.old Sun Dec 10 18:02:22 2000
+++ drivers/i2o/i2o_lan.c Sun Dec 10 18:35:01 2000
@@ -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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:20 EST