Files
linux/drivers
Chen Gang 6439fbce10 can: c_can: fix error checking of priv->instance in probe()
This patch adds a type cast from 'unsigned int' to 'int'.

'priv->instance' may less than zero, so need a type cast, the related
warnings (allmodconfig, "EXTRA_CFLAGS=-W"):

  drivers/net/can/c_can/c_can_platform.c:198:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2013-08-22 09:40:19 +02:00
..
…
…
2013-07-22 16:54:40 -04:00
…
…
2013-07-23 16:01:28 -07:00
…
…
…
…
…
…
2013-06-28 13:01:40 +02:00
…
2013-08-01 15:49:33 -04:00
…
2013-07-22 09:34:46 +08:00
2013-07-24 16:36:41 -06:00
…