Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 Oct 2002 18:38:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 Oct 2002 18:38:18 -0400 Received: from gate.perex.cz ([194.212.165.105]:1294 "EHLO gate.perex.cz") by vger.kernel.org with ESMTP id ; Mon, 14 Oct 2002 18:38:17 -0400 Date: Tue, 15 Oct 2002 00:43:53 +0200 (CEST) From: Jaroslav Kysela X-X-Sender: To: "David S. Miller" cc: "torvalds@transmeta.com" , "linux-kernel@vger.kernel.org" Subject: Re: ALSA update In-Reply-To: <20021014.125829.01014301.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1332 Lines: 46 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 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/