2002-04-29 22:25:39

by Alessandro Suardi

[permalink] [raw]
Subject: 2.5.11 breaks snd_printk if SND_VERBOSE_PRINTK = n

with CONFIG_SND_VERBOSE_PRINTK = n :

make[4]: Entering directory `/usr/local/src/linux-2.5.11/sound/core/seq/oss'
gcc -D__KERNEL__ -I/usr/local/src/linux-2.5.11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DKBUILD_BASENAME=seq_oss -c -o seq_oss.o seq_oss.c
seq_oss.c:225:17: warning: pasting "(" and "KERN_ERR" does not give a valid preprocessing token
seq_oss.c: In function `register_device':
seq_oss.c:225: `KERN_ERR' undeclared (first use in this function)
seq_oss.c:225: (Each undeclared identifier is reported only once
seq_oss.c:225: for each function it appears in.)
seq_oss.c:225: parse error before string constant
seq_oss.c:233:17: warning: pasting "(" and "KERN_ERR" does not give a valid preprocessing token
seq_oss.c:233: parse error before string constant
seq_oss.c:238:9: warning: pasting "(" and ""device registered\n"" does not give a valid preprocessing token
seq_oss.c:247:9: warning: pasting "(" and ""device unregistered\n"" does not give a valid preprocessing token
seq_oss.c:249:17: warning: pasting "(" and "KERN_ERR" does not give a valid preprocessing token

etc. etc.

Configuring SND_VERBOSE_PRINTK in makes the problem go away.

--alessandro

"the hands that build / can also pull down
even the hands of love"
(U2, "Exit")