linux/drivers/net/can/mscan
Wei Yongjun f61bd0585d can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-09-21 23:58:48 +02:00
..
Kconfig m68knommu: Remove dependencies on nonexistent M68KNOMMU 2011-02-08 15:07:44 +10:00
Makefile net/can/mscan: improve build 2009-11-17 03:57:34 -08:00
mpc5xxx_can.c can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock() 2012-09-21 23:58:48 +02:00
mscan.c can: mark bittiming_const pointer in struct can_priv as const 2012-07-20 12:31:05 +02:00
mscan.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00