]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: fec: Define indexes as 'unsigned int'
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 20 Mar 2013 15:31:07 +0000 (12:31 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:28:59 +0000 (12:28 -0400)
commitda2191e31409d1058dcbed44e8f53e39a40e86b3
tree113dd405e6647253d7ae9f8d941207303cdb358b
parent896ee0eee6261e30c3623be931c3f621428947df
net: fec: Define indexes as 'unsigned int'

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: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c