On Thu, 6 Aug 2009, Hans Verkuil wrote: > > Why do you need two routines that will always return zero? Why to create a > > code > > that will never be used? v4l2-compat-ioctl32.c is already complex enough > > without adding any bogus code. > > When the RDS encoder driver from Eduardo is added, then he will add the > string controls to ctrl_is_pointer() since his driver is the first to > actually implement string controls. Could one of the upper bits of the control id be used as a flag? It would make it a lot easier to check the control's type than by using some inline function with a giant case statement that needs to be updated each time a new control is added. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html