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 can: mscan: Fix Kconfig dependencies 2014-05-19 09:38:21 +02:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
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 can: Fix FSF address in file headers 2013-12-17 11:47:21 +01:00