Tyler Trafford wrote:

From decoder.h
#define DECODER_SET_AUDIO_INPUT _IOW('d', 110, int *)

From cx25840.h
#define DECODER_SET_SETTING _IOR('d', 110, struct cx25840_setting)

Could this cause problems?  (Both using d110, I mean.)
That shouldn't cause a problem, since one is an IOW and the other is IOR. Also the size of the parameters is different, so theoretically they should end up with different ioctl numbers. I'd question why a SET would use an _IOR though. I'd second that they should use different numbers though, just to be safe. I'd also like to see them start at BASE_VIDIOCPRIVATE for bonus points.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to