[Ksummit-discuss] UAPI headers and inline function policy

Greg KH gregkh at linuxfoundation.org
Mon Jan 23 11:35:27 UTC 2017


On Mon, Jan 23, 2017 at 11:20:25AM +0000, David Howells wrote:
> I noticed that include/uapi/linux/cec.h and cec-funcs.h export a bunch of
> inline functions to userspace.  I think that the following should possibly be
> prohibited in kernel UAPI headers:
> 
>  (1) Inline functions and function declarations.

As the lustre filesystem wants to do the same thing that cec is doing,
where would the best place be to put stuff like this that would
otherwise just require two independant copies to be kept in sync?

thanks,

greg k-h


More information about the Ksummit-discuss mailing list