• Ron Mercer's avatar
    qlge: Fix sparse endian warning in ql_hw_csum_setup(). · fd2df4f7
    Ron Mercer authored
    Changed u16 to __sum16 usage.
    
    Warnings:
    drivers/net/qlge/qlge_main.c:1897:9: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:1897:9:    expected unsigned short [usertype] *check
    drivers/net/qlge/qlge_main.c:1897:9:    got restricted unsigned short *<noident>
    drivers/net/qlge/qlge_main.c:1903:9: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:1903:9:    expected unsigned short [usertype] *check
    drivers/net/qlge/qlge_main.c:1903:9:    got restricted unsigned short *<noident>
    drivers/net/qlge/qlge_main.c:1909:9: warning: incorrect type in assignment (different base types)
    drivers/net/qlge/qlge_main.c:1909:9:    expected unsigned short [unsigned] [short] [usertype] <noident>
    Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fd2df4f7
qlge_main.c 107 KB