[lkml]   [2002]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.5 patch] fs/smbfs/sock.c mut include linux/tqueue.h

in 2.5.23 tq_struct moved from sched.h to tqueue.h. This caused the
following compile error:

<-- snip -->

gcc -Wp,-MD,./.sock.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.23-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -nostdinc -iwithprefix include -DSMBFS_PARANOIA -DKBUILD_BASENAME=sock
-c -o sock.o sock.c
sock.c:87: field `cb' has incomplete type
sock.c: In function `smb_data_ready':
sock.c:173: warning: implicit declaration of function `schedule_task'
make[2]: *** [sock.o] Error 1
make[2]: Leaving directory

<-- snip -->

The fix is simple:

--- fs/smbfs/sock.c.old Wed Jun 19 09:14:25 2002
+++ fs/smbfs/sock.c Wed Jun 19 09:14:53 2002
@@ -18,6 +18,7 @@
#include <linux/mm.h>
#include <linux/netdevice.h>
#include <linux/smp_lock.h>
+#include <linux/tqueue.h>
#include <net/scm.h>
#include <net/ip.h>


You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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