error in kernel source

From: Alexander Martinez (alex@klinzha.ghb.fh-furtwangen.de)
Date: Thu Aug 08 2002 - 13:42:26 EST


Hi,

Please forgive me, if I'm at the wrong place for this error report and send
it to the right place for further notice.

There's an error in kernel source for linux-2.5.30 in file
sound/oss/viavia82cxxx_audio.c when compiling via audio as a module.

This is the exact error message:
gcc -Wp,-MD,./.via82cxxx_audio.o.d -D__KERNEL__
-I/usr/src/linux-2.5.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -nostdinc
-iwithprefix include -DMODULE -include
/usr/src/linux-2.5.29/include/linux/modversions.h
-DKBUILD_BASENAME=via82cxxx_audio -c -o via82cxxx_audio.o via82cxxx_audio.c
via82cxxx_audio.c:824: macro synchronize_irq' used without args
make[2]: *** [via82cxxx_audio.o] Error 1
make[2]: Leaving directory /usr/src/linux-2.5.29/sound/oss'
make[1]: *** [oss] Error 2

when I change line 824 in via82cxxx_audio.c from

synchronize_irq();

to

synchronize_irq(&card->irq);

then the compile succeeds. After installing the new kernel and rebooting the
via sound chip works, so I think that I've done it right.

I just wanted to report this error, so somebody can fix it in the official
kernel source.

Output of scripts/ver_linux follows (just in case that it's useful ...)

Greetings,

Alex

-------------------------------------------------------------------------------

If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
 Linux stovokor 2.5.29 #1 Thu Aug 8 17:22:59 CEST 2002 i686 unknown unknown
GNU/Linux
 
 Gnu C 2.95.4
 Gnu make 3.79.1
 util-linux 2.11n
 mount 2.11n
 modutils 2.4.15
 e2fsprogs 1.27
 PPP 2.4.1
 Linux C Library 2.2.5
 Dynamic linker (ldd) 2.2.5
 Procps 2.0.7
 Net-tools 1.60
 Console-tools 0.2.3
 Sh-utils 2.0.12
 Modules Loaded ipt_ttl ipt_tos ipt_tcpmss ipt_owner ipt_multiport
ipt_mark ipt_mac ipt_limit ipt_length ipt_esp ipt_unclean ipt_ah ipt_ULOG
ipt_TCPMSS ipt_REJECT ipt_REDIRECT ipt_MIRROR ipt_MASQUERADE iptable_nat
ip_conntrack ipt_LOG ip_tables uhci-hcd thermal processor fan button battery
ac zlib_inflate zlib_deflate nls_utf8 ext3 jbd sr_mod 8139too mii crc32
parport_pc lp parport loop nbd sg ide-scsi scsi_mod r128 agpgart
via82cxxx_audio soundcore ac97_codec scanner mousedev keybdev hid usbcore
evdev input nls_iso8859-15 nls_iso8859-1 nls_cp850 nls_cp437 smbfs vfat fat

------------------------------------------------------------------------------
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:17 EST