net: pxa168_eth: avoid using signed char for bitops
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Fri, 3 Oct 2014 15:08:19 +0000 (17:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:18:56 +0000 (21:18 -0400)
commite885439f37b0dce404291350f7c0368c2bb97cdb
treeebf379b05be5df78cb25546dddde853d5546d8f6
parent5555dfdc0fd84c4df61756903632e1e37a63a247
net: pxa168_eth: avoid using signed char for bitops

Signedness bugs may occur when using signed char for bitops,
depending on if the highest bit is ever used.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c