cns3xxx: ethernet: fix signed/unsigned comparison

Fixes a compiler warning

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
Koen Vandeputte 2018-08-07 10:52:53 +02:00
parent d1aa6bd698
commit 23cdbf2644

View file

@ -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)