aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/flexcan.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-05-16 22:36:26 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-06-07 23:03:54 +0200
commitc5a3aed1cd3152429348ee1fe5cdcca65fe901ce (patch)
tree1dd7236f7e6f58f2629e084d159cfb1c0d128443 /drivers/net/can/flexcan.c
parentcan: m_can: implement errata "Needless activation of MRAF irq" (diff)
downloadlinux-dev-c5a3aed1cd3152429348ee1fe5cdcca65fe901ce.tar.xz
linux-dev-c5a3aed1cd3152429348ee1fe5cdcca65fe901ce.zip
can: af_can: Fix error path of can_init()
This patch add error path for can_init() to avoid possible crash if some error occurs. Fixes: 0d66548a10cb ("[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>
Diffstat (limited to 'drivers/net/can/flexcan.c')
0 files changed, 0 insertions, 0 deletions