diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-18 17:35:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-29 08:28:30 +0200 |
commit | bd2f4c7c2d6a6f09a23756ae6d97b0615bdd05d7 (patch) | |
tree | ab2c98e580cb15d0f8e5ab4841df189b83173885 /sound | |
parent | 3257103502cf8c74d4979e96445d7409a0e7cd68 (diff) | |
download | linux-stable-bd2f4c7c2d6a6f09a23756ae6d97b0615bdd05d7.tar.gz linux-stable-bd2f4c7c2d6a6f09a23756ae6d97b0615bdd05d7.tar.bz2 linux-stable-bd2f4c7c2d6a6f09a23756ae6d97b0615bdd05d7.zip |
can: gw: Fix error path of cgw_module_init
[ Upstream commit b7a14297f102b6e2ce6f16feffebbb9bde1e9b55 ]
This patch add error path for cgw_module_init to avoid possible crash if
some error occurs.
Fixes: c1aabdf379bc ("can-gw: add netlink based CAN routing")
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions