linux/drivers/net/can
Uwe Kleine-König 4773a47d8a can/at91: don't check platform_get_irq's return value against zero
platform_get_irq returns -ENXIO on failure, so !irq was probably
always true.  Better use (int)irq <= 0.  Note that a return value of
zero is still handled as error even though this could mean irq0.

This is a followup to 305b3228f9 that
changed the return value of platform_get_irq from 0 to -ENXIO on error.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-12-18 20:31:56 -08:00
..
mscan can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
sja1000 can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
usb can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
Kconfig can: CAN_MCP251X should depend on HAS_DMA 2009-12-13 19:56:36 -08:00
Makefile can: add the driver for Analog Devices Blackfin on-chip CAN controllers 2009-12-11 15:07:58 -08:00
at91_can.c can/at91: don't check platform_get_irq's return value against zero 2009-12-18 20:31:56 -08:00
bfin_can.c can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
dev.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-17 00:05:02 -08:00
mcp251x.c can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
ti_hecc.c can: Fix data length code handling in rx path 2009-12-13 19:47:42 -08:00
vcan.c can: fix NOHZ local_softirq_pending 08 warning 2009-09-15 01:31:34 -07:00