there's the following compile error in kernel 2.5.32 (caused by Ingo's
recent changes to ptrace.h):
<-- snip -->
...
gcc -Wp,-MD,./.tp3780i.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.
5.32-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -nostdinc -iwithprefix include -DMW_TRACE -DKBUILD_BASENAME=tp3780i
-c -o tp3780i.o tp3780i.c
In file included from tp3780i.c:51:
/home/bunk/linux/kernel-2.5/linux-2.5.32-full/include/linux/ptrace.h:28:
warning
: `struct task_struct' declared inside parameter list
/home/bunk/linux/kernel-2.5/linux-2.5.32-full/include/linux/ptrace.h:28:
warning
: its scope is only this definition or declaration, which is probably not
what you want.
...
make[3]: *** [tp3780i.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.32-full/drivers/char/mwave'
<-- snip -->
The following fixes it:
--- drivers/char/mwave/tp3780i.c.old 2002-08-28 17:56:24.000000000 +0200
+++ drivers/char/mwave/tp3780i.c 2002-08-28 17:58:10.000000000 +0200
@@ -48,6 +48,7 @@
#include <linux/version.h>
#include <linux/kernel.h>
+#include <linux/sched.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
#include <asm/io.h>
cu
Adrian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/