From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: emux: Add trivial compat ioctl handler Date: Tue, 14 Sep 2010 16:20:30 +0200 Message-ID: References: <1284255707.5323.638.camel@localhost> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 3AFA31038C8 for ; Tue, 14 Sep 2010 16:20:31 +0200 (CEST) In-Reply-To: <1284255707.5323.638.camel@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Ben Hutchings Cc: 596478@bugs.debian.org, alsa-devel@alsa-project.org, Carmen Cru List-Id: alsa-devel@alsa-project.org At Sun, 12 Sep 2010 02:41:47 +0100, Ben Hutchings wrote: > > Reported-by: Carmen Cru > Signed-off-by: Ben Hutchings > --- > This is compile-tested only. Thanks, applied now. Takashi > > Ben. > > sound/synth/emux/emux_hwdep.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/sound/synth/emux/emux_hwdep.c b/sound/synth/emux/emux_hwdep.c > index ff0b2a8..5ae1eae 100644 > --- a/sound/synth/emux/emux_hwdep.c > +++ b/sound/synth/emux/emux_hwdep.c > @@ -128,6 +128,9 @@ snd_emux_init_hwdep(struct snd_emux *emu) > strcpy(hw->name, SNDRV_EMUX_HWDEP_NAME); > hw->iface = SNDRV_HWDEP_IFACE_EMUX_WAVETABLE; > hw->ops.ioctl = snd_emux_hwdep_ioctl; > + /* The ioctl parameter types are compatible between 32- and > + * 64-bit architectures, so use the same function. */ > + hw->ops.ioctl_compat = snd_emux_hwdep_ioctl; > hw->exclusive = 1; > hw->private_data = emu; > if ((err = snd_card_register(emu->card)) < 0) > -- > 1.7.1 > >