diff options
author | YueHaibing <[email protected]> | 2019-05-16 22:36:26 +0800 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2019-06-07 23:03:54 +0200 |
commit | c5a3aed1cd3152429348ee1fe5cdcca65fe901ce (patch) | |
tree | 1dd7236f7e6f58f2629e084d159cfb1c0d128443 /tools/perf/scripts/python/syscall-counts.py | |
parent | 3e82f2f34c930a2a0a9e69fdc2de2f2f1388b442 (diff) |
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 <[email protected]>
Acked-by: Oliver Hartkopp <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions