Messages in this thread Patch in this message | | | Date | Tue, 8 Apr 2003 20:16:13 -0400 (EDT) | From | John Kim <> | Subject | [PATCH 2.5.67] trivial compile fix for sound/oss/mad16.c |
| |
Patch below fixes following compile breakage:
gcc -Wp,-MD,sound/oss/.mad16.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=mad16 -DKBUILD_MODNAME=mad16 -c -o sound/oss/.tmp_mad16.o sound/oss/mad16.c sound/oss/mad16.c: In function `wss_init': sound/oss/mad16.c:322: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:113) sound/oss/mad16.c: In function `probe_mad16': sound/oss/mad16.c:541: parse error before "else" sound/oss/mad16.c:604: parse error before "else" make[2]: *** [sound/oss/mad16.o] Error 1 make[1]: *** [sound/oss] Error 2 make: *** [sound] Error 2
John Kim
diff -Nau linux-2.5.67/sound/oss/mad16.c linux-2.5.67-new/sound/oss/mad16.c --- linux-2.5.67/sound/oss/mad16.c 2003-04-07 13:32:18.000000000 -0400 +++ linux-2.5.67-new/sound/oss/mad16.c 2003-04-08 16:59:01.000000000 -0400 @@ -537,7 +537,7 @@ for (i = 0xf8d; i <= 0xf93; i++) { if (!c924pnp) - DDB(printk("port %03x = %02x\n", i, mad_read(i))) + DDB(printk("port %03x = %02x\n", i, mad_read(i))); else DDB(printk("port %03x = %02x\n", i-0x80, mad_read(i))); } @@ -600,7 +600,7 @@ for (i = 0xf8d; i <= 0xf93; i++) { if (!c924pnp) - DDB(printk("port %03x after init = %02x\n", i, mad_read(i))) + DDB(printk("port %03x after init = %02x\n", i, mad_read(i))); else DDB(printk("port %03x after init = %02x\n", i-0x80, mad_read(i))); } - 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/
| |