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

Takashi Sakamoto o-takashi at sakamocchi.jp
Wed Jul 27 17:14:13 CEST 2016


On Jul 28 2016 00:08, Takashi Iwai wrote:
> 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?

Oh, indeed. I did just copy-and-paste here... I'll post revised version,
later.


Thanks

Takashi Sakamoto


More information about the Alsa-devel mailing list