aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-07 10:52:53 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-07 12:53:47 +0200
commit23cdbf2644dcbb3538b5e3341122a83603afeb3f (patch)
treead7832994c1506642998bb747225ce5025b83189 /target/linux/cns3xxx
parentd1aa6bd69889f03bc4642e52be724a199057c91f (diff)
downloadupstream-23cdbf2644dcbb3538b5e3341122a83603afeb3f.tar.gz
upstream-23cdbf2644dcbb3538b5e3341122a83603afeb3f.tar.bz2
upstream-23cdbf2644dcbb3538b5e3341122a83603afeb3f.zip
cns3xxx: ethernet: fix signed/unsigned comparison
Fixes a compiler warning Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/cns3xxx')
-rw-r--r--target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c2
1 files changed, 1 insertions, 1 deletions
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 07c9dbc048..776a06402f 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)