public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]test12-pre8 i2o_lan.c
@ 2000-12-10 23:57 Frank Davis
  0 siblings, 0 replies; only message in thread
From: Frank Davis @ 2000-12-10 23:57 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-12-11  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-10 23:57 [PATCH]test12-pre8 i2o_lan.c Frank Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox