• Alexander Aring's avatar
    dlm: use __le types for dlm messages · 00e99ccd
    Alexander Aring authored
    This patch changes to use __le types directly in the dlm message
    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>
    00e99ccd
util.c 1.59 KB