]> git.karo-electronics.de Git - linux-beck.git/commit
net: bna: use correct type specifier (2)
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 31 Jul 2016 09:01:20 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2016 20:32:52 +0000 (13:32 -0700)
commit4c2e9e299626b602024352848baa9c7b7bfee15f
tree51470fae965cb6a7efaba4fb3ee3545aa1e5b9d5
parent112b6b791dd0506fd49815232d38cb29672d48f2
net: bna: use correct type specifier (2)

add and val are read with
sscanf(kern_buf, "%x:%x", &addr, &val);
and used as arguments for bna_reg_offset_check and writel
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