2002-08-31 23:41:45

by Alessandro Suardi

[permalink] [raw]
Subject: 2.5.33: LOG macro in cpia.c broken

gcc -Wp,-MD,./.cpia.o.d -D__KERNEL__
-I/usr/local/src/linux-2.5.33/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DMODULE -DKBUILD_BASENAME=cpia -DEXPORT_SYMTAB -c -o cpia.o
cpia.c
cpia.c: In function `proc_cpia_create':
cpia.c:1255: called object is not a function
cpia.c:1255: parse error before string constant
cpia.c:1255: warning: left-hand operand of comma expression has no effect
cpia.c:1255: parse error before ')' token
cpia.c: In function `set_vw_size':
cpia.c:1460: called object is not a function
cpia.c:1460: parse error before string constant

[etc.]

All lines with "called object is not a function" have the LOG
macro which is supposed to ultimately call printk().

--alessandro

"everything dies, baby that's a fact
but maybe everything that dies someday comes back"
(Bruce Springsteen, "Atlantic City")