[alsa-devel] [PATCH 2/3] usb-us122l: add support for compatible ioctl

Takashi Iwai tiwai at suse.de
Wed Jul 27 17:08:49 CEST 2016


On Wed, 27 Jul 2016 17:06:47 +0200,
Takashi Sakamoto wrote:
> 
> +#ifdef CONFIG_COMPAT
> +static int usb_stream_hwdep_compat_ioctl(struct snd_hwdep *hw,
> +					 struct file *file,
> +					 unsigned int cmd, unsigned long arg)
> +{
> +	return usb_stream_hwdep_compat_ioctl(hw, file, cmd,
> +					     (unsigned long)compat_ptr(arg));

Won't this go into the endless recursion?


Takashi


More information about the Alsa-devel mailing list