• Ralf Baechle's avatar
    netxen: fix warnings · b8d095d7
    Ralf Baechle authored
      CC [M]  drivers/net/netxen/netxen_nic_hw.o
    drivers/net/netxen/netxen_nic_hw.c: In function 'netxen_nic_hw_resources':
    drivers/net/netxen/netxen_nic_hw.c:231: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
    drivers/net/netxen/netxen_nic_hw.c:250: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
    
    u64 is unsigned long so the cast to u64 will result in a warning on the
    printf arguments for 64-bit builds.  So cast to unsigned long long instead.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    b8d095d7
netxen_nic_hw.c 27.8 KB