]> asedeno.scripts.mit.edu Git - linux.git/commit
net: bna: use correct type specifications
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 08:53:14 +0000 (10:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2016 20:32:51 +0000 (13:32 -0700)
commit112b6b791dd0506fd49815232d38cb29672d48f2
tree575ee4ddd85f505730628f35e0b6a90a21ac1343
parent323b15b997f3d07bb0dbc8906c7831b8f54f32f1
net: bna: use correct type specifications

addr and len are read with
sscanf(kern_buf, "%x:%x", &addr, &len);
and used as arguments for
bna_reg_offset_check.

So they have to be unsigned.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad_debugfs.c