[Ksummit-discuss] UAPI headers and inline function policy

David Howells dhowells at redhat.com
Mon Jan 23 17:27:32 UTC 2017

Hans Verkuil <hansverk at cisco.com> wrote:

> >  (1) Inline functions and function declarations.
> The reason for putting them there is that these inline functions are used
> both in the kernel and in userspace. Having them in one place makes life
> much simpler.
> What is the rationale for not allowing this?
> >  (2) Anonymous embedded structs and unions.
> Same question. Anonymous unions are used in many places and have been for
> many years. Certainly in the media subsystem they are used frequently.

Not all compilers support these features.  Also, we have to be very careful
about using reserved words like "new" in parameter and variable names.


More information about the Ksummit-discuss mailing list