kernel-fxtec-pro1x/net/can
YueHaibing 473a75c7fa can: af_can: Fix error path of can_init()
[ Upstream commit c5a3aed1cd3152429348ee1fe5cdcca65fe901ce ]

This patch add error path for can_init() to avoid possible crash if some
error occurs.

Fixes: 0d66548a10 ("[CAN]: Add PF_CAN core module")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-14 08:11:07 +02:00
..
af_can.c can: af_can: Fix error path of can_init() 2019-07-14 08:11:07 +02:00
af_can.h
bcm.c can: bcm: check timer values before ktime conversion 2019-01-31 08:14:39 +01:00
gw.c
Kconfig
Makefile
proc.c
raw.c