• David Howells's avatar
    rxrpc: Fix some sparse errors · 88b99d0b
    David Howells authored
    Fix the following sparse errors:
    
    ../net/rxrpc/conn_object.c:77:17: warning: incorrect type in assignment (different base types)
    ../net/rxrpc/conn_object.c:77:17:    expected restricted __be32 [usertype] call_id
    ../net/rxrpc/conn_object.c:77:17:    got unsigned int [unsigned] [usertype] call_id
    ../net/rxrpc/conn_object.c:84:21: warning: restricted __be32 degrades to integer
    ../net/rxrpc/conn_object.c:86:26: warning: restricted __be32 degrades to integer
    ../net/rxrpc/conn_object.c:357:15: warning: incorrect type in assignment (different base types)
    ../net/rxrpc/conn_object.c:357:15:    expected restricted __be32 [usertype] epoch
    ../net/rxrpc/conn_object.c:357:15:    got unsigned int [unsigned] [usertype] epoch
    ../net/rxrpc/conn_object.c:369:21: warning: restricted __be32 degrades to integer
    ../net/rxrpc/conn_object.c:371:26: warning: restricted __be32 degrades to integer
    ../net/rxrpc/conn_object.c:411:21: warning: restricted __be32 degrades to integer
    ../net/rxrpc/conn_object.c:413:26: warning: restricted __be32 degrades to integer
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    88b99d0b
conn_object.c 16.7 KB