Messages in this thread |  | | Date | Sun, 01 Sep 2002 03:28:03 +0200 | From | Alessandro Suardi <> | Subject | Re: drivers/atm/firestream.c doesn't compile in 2.5.33 |
| |
Adrian Bunk wrote: > <-- snip --> > > ... > gcc -Wp,-MD,./.firestream.o.d -D__KERNEL__ > -I/home/bunk/linux/kernel-2.5/linux-2.5.33-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 -g -DKBUILD_BASENAME=firestream > -c -o firestream.o firestream.c > firestream.c: In function `fs_open': > firestream.c:870: called object is not a function > firestream.c:870: parse error before string constant > firestream.c:1097: called object is not a function > firestream.c:1097: parse error before string constant > firestream.c: In function `fs_close': > firestream.c:1109: called object is not a function > firestream.c:1109: parse error before string constant > firestream.c:1159: called object is not a function > firestream.c:1159: parse error before string constant
Same symptom as the cpia.c (and IrDA, too). Just change
#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter " __FUNCTION__ "\n") #define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit " __FUNCTION__ "\n")
to
#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter %s\n", __FUNCTION__) #define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit %s\n", __FUNCTION__)
(the 2.4.20-pre5 firestream.c has the fixed version already)
--alessandro
"everything dies, baby that's a fact but maybe everything that dies someday comes back" (Bruce Springsteen, "Atlantic City")
- 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/
|  |