From 23cdbf2644dcbb3538b5e3341122a83603afeb3f Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Tue, 7 Aug 2018 10:52:53 +0200 Subject: [PATCH] cns3xxx: ethernet: fix signed/unsigned comparison Fixes a compiler warning Signed-off-by: Koen Vandeputte --- .../cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c b/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c index 07c9dbc0487..776a06402f6 100644 --- a/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c +++ b/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c @@ -761,7 +761,7 @@ static int eth_xmit(struct sk_buff *skb, struct net_device *dev) int nr_desc = nr_frags; int index0, index, index_last; int len0; - unsigned int i; + int i; u32 config0; if (pmap == 8) -- 2.30.2