• David S. Miller's avatar
    sh_eth: Fix warnings on 64-bit. · e403d295
    David S. Miller authored
    Don't cast a plain integer to a pointer.
    
    drivers/net/ethernet/renesas/sh_eth.c: In function ‘sh_eth_chip_reset_giga’:
    drivers/net/ethernet/renesas/sh_eth.c:482:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    drivers/net/ethernet/renesas/sh_eth.c:483:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    drivers/net/ethernet/renesas/sh_eth.c:492:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    drivers/net/ethernet/renesas/sh_eth.c:493:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e403d295
sh_eth.c 64.4 KB