diff options
| author | Oliver Hartkopp <[email protected]> | 2024-02-19 21:00:21 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2024-02-20 08:20:42 +0100 |
| commit | c8fba5d6df5e476aa791db4f1f014dad2bb5e904 (patch) | |
| tree | 18d8a088aa2ca073851ee84de423e8a2c63e5bb9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | a93fca920167755db7e931f9b302b355edec910a (diff) | |
can: raw: fix getsockopt() for new CAN_RAW_XL_VCID_OPTS
The code for the CAN_RAW_XL_VCID_OPTS getsockopt() was incompletely adopted
from the CAN_RAW_FILTER getsockopt().
Add the missing put_user() and return statements.
Flagged by Smatch.
Fixes: c83c22ec1493 ("can: canxl: add virtual CAN network identifier support")
Reported-by: Simon Horman <[email protected]>
Signed-off-by: Oliver Hartkopp <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions