1
0
Fork 0
alistair23-linux/drivers/net/can/mscan
Nicholas Mc Guire b5c1a23b17 can: mpc5xxx_can: check of_iomap return before use
of_iomap() can return NULL so that return needs to be checked and NULL
treated as failure. While at it also take care of the missing
of_node_put() in the error path.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: commit afa17a500a ("net/can: add driver for mscan family & mpc52xx_mscan")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-07-23 14:34:45 +02:00
..
Kconfig
Makefile
mpc5xxx_can.c can: mpc5xxx_can: check of_iomap return before use 2018-07-23 14:34:45 +02:00
mscan.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
mscan.h