Em Tue, 19 Dec 2017 16:12:35 +0200 Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> escreveu: > Hi Laurent, > > On Tue, Dec 19, 2017 at 04:02:02PM +0200, Laurent Pinchart wrote: > > And furthermore using enum types in the uAPI is a bad idea as the enum size is > > architecture-dependent. That's why we use integer types in structures used as > > ioctl arguments. > > I guess we have an argeement on that, enums are a no-go for uAPI, for > reasons not related to the topic at hand. Huh? We're not talking about uAPI. This is kAPI. Using enums there is OK. Thanks, Mauro