Re: ALSA update

From: Jaroslav Kysela (perex@perex.cz)
Date: Mon Oct 14 2002 - 17:43:53 EST


On Mon, 14 Oct 2002, David S. Miller wrote:

> This breaks the build on sparc64:
>
> sound/core/ioctl32/ioctl32.h:95: parse error before `if'
> sound/core/ioctl32/ioctl32.h:99: parse error before `sizeof'

Oops. Missing two backslashes. It should be corrected with this patch
(already in linux-sound BK repository):

Index: ioctl32.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/ioctl32/ioctl32.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ioctl32.h 12 Oct 2002 14:18:09 -0000 1.9
+++ ioctl32.h 14 Oct 2002 22:28:27 -0000 1.10
@@ -91,11 +91,11 @@
         if (data32 == NULL || data == NULL) { \
                 err = -ENOMEM; \
                 goto __end; \
- }
+ }\
         if (copy_from_user(data32, (void*)arg, sizeof(*data32))) { \
                 err = -EFAULT; \
                 goto __end; \
- }
+ }\
         memset(data, 0, sizeof(*data));\
         convert_from_32(type, data, data32);\
         oldseg = get_fs();\

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

-
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 : Tue Oct 15 2002 - 22:00:52 EST