can: sja1000_isa: fix "limited range" compiler warnings
authorWolfgang Grandegger <wg@grandegger.com>
Wed, 23 Nov 2011 23:08:35 +0000 (23:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 23:28:55 +0000 (18:28 -0500)
commit115d2a3de2fd7d501369b0091c5c485a72ed90ed
treef105e25d86411043aa2d8309661e336131d0f719
parent6977a79d36baf8b295b1893621874202e1d02094
can: sja1000_isa: fix "limited range" compiler warnings

This patch fixes the compiler warnings: "comparison is always
false due to limited range of data type" by using "0xff" instead
of "-1" for unsigned values.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/sja1000/sja1000_isa.c