• Alexander Aring's avatar
    dlm: use __le types for dlm header · 3428785a
    Alexander Aring authored
    This patch changes to use __le types directly in the dlm header
    structure which is casted at the right dlm message buffer positions.
    
    The main goal what is reached here is to remove sparse warnings
    regarding to host to little byte order conversion or vice versa. Leaving
    those sparse issues ignored and always do it in out/in functionality
    tends to leave it unknown in which byte order the variable is being
    handled.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    3428785a
rcom.c 16.6 KB