• Fabio Estevam's avatar
    net: fec: Define indexes as 'unsigned int' · da2191e3
    Fabio Estevam authored
    Fix the following warnings that happen when building with W=1 option:
    
    drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_free_buffers':
    drivers/net/ethernet/freescale/fec.c:1337:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_alloc_buffers':
    drivers/net/ethernet/freescale/fec.c:1361:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    drivers/net/ethernet/freescale/fec.c: In function 'fec_enet_init':
    drivers/net/ethernet/freescale/fec.c:1631:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    da2191e3
fec.c 49.5 KB