From: Takashi Iwai Subject: Re: [PATCH] ALSA: ctl: Fix incompatible ioctls for X32 ABI Date: Mon, 29 Feb 2016 11:30:29 +0100 Message-ID: References: <1456592680-1688-1-git-send-email-tiwai@suse.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 56504260535 for ; Mon, 29 Feb 2016 11:30:30 +0100 (CET) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A7347ABB4 for ; Mon, 29 Feb 2016 10:30:29 +0000 (UTC) In-Reply-To: <1456592680-1688-1-git-send-email-tiwai@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Sat, 27 Feb 2016 18:04:40 +0100, Takashi Iwai wrote: > > The X32 ABI takes the same alignment like x86-64, and this may result > in the incompatible struct size from ia32. Unfortunately, we hit this > in some control ABI: struct snd_ctl_elem_value differs between them > due to the position of 64bit variable array. This ends up with the > unknown ioctl (ENOTTY) error. > > The fix is to add the compat entries for the new aligned struct. > > Reported-and-tested-by: Steven Newbury > Cc: > Signed-off-by: Takashi Iwai It turned out that there are more breakage than this single one. I'll resend a v2 patchset. Takashi