[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161210181649.GB8477@kroah.com>
Date: Sat, 10 Dec 2016 19:16:49 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: James Simmons <jsimmons@...radead.org>
Cc: devel@...verdev.osuosl.org,
Andreas Dilger <andreas.dilger@...el.com>,
Oleg Drokin <oleg.drokin@...el.com>,
James Simmons <uja.ornl@...oo.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Lustre Development List <lustre-devel@...ts.lustre.org>
Subject: Re: [PATCH v2 5/5] staging: lustre: headers: use proper byteorder
functions in lustre_idl.h
On Sat, Dec 10, 2016 at 01:06:01PM -0500, James Simmons wrote:
> In order for lustre_idl.h to be usable for both user
> land and kernel space it has to use the proper
> byteorder functions.
Why would userspace need/want all of these inline functions? A uapi
header file should just have a the structures that are passed
user/kernel and any needed ioctls. Why would they ever care about
strange byte flip functions and a ton of inline functions?
I don't think this is needed, of if it is, I really don't want to see
your crazy userspace code...
thanks,
greg k-h
Powered by blists - more mailing lists