net: pxa168_eth: avoid using signed char for bitops
authorAntoine Ténart <[email protected]>
Fri, 3 Oct 2014 15:08:19 +0000 (17:08 +0200)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/pxa168_eth.c