lkml.org 
[lkml]   [2016]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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

    \
     
     \ /
      Last update: 2016-12-10 19:17    [W:4.025 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site