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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux