Files
linux/drivers/net
Nicholas Mc Guire 82ad267b27 can: mpc5xxx_can: check of_iomap return before use
[ Upstream commit b5c1a23b17 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:20:01 +02:00
..
2016-06-15 22:06:06 -07:00
2017-12-09 22:01:54 +01:00
2016-05-09 00:00:28 -04:00
2016-04-26 15:53:05 -04:00
2018-03-22 09:17:57 +01:00