diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-16 22:36:26 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-06-07 23:03:54 +0200 |
commit | c5a3aed1cd3152429348ee1fe5cdcca65fe901ce (patch) | |
tree | 1dd7236f7e6f58f2629e084d159cfb1c0d128443 /drivers/net/can | |
parent | 3e82f2f34c930a2a0a9e69fdc2de2f2f1388b442 (diff) | |
download | linux-c5a3aed1cd3152429348ee1fe5cdcca65fe901ce.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions