• Rami Rosen's avatar
    mwl8: fix build warning. · c491bf12
    Rami Rosen authored
    This patch fixes a build warning in mwl8.c.
    (Marvell TOPDOG wireless driver)
    
    The warning it fixes is: "large integer implicitly truncated to unsigned type."
    
    The rx_ctrl member of the mwl8k_rx_desc struct is 8 bit (__u8 ), whereas trying
    to assign it a 32 bit value (which is returned from  cpu_to_le32())
    causes the compiler to issue
    a truncation warning.
    Signed-off-by: default avatarRami Rosen <ramirose@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    c491bf12
mwl8k.c 89.8 KB