diff options
author | Oliver Hartkopp <[email protected]> | 2023-02-03 10:08:07 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2023-02-08 21:53:24 +0100 |
commit | f2f527d595963aa86464ca3e05ec27dd5153d56e (patch) | |
tree | 35319326bb4432bc1434d68ba5899f29609f4c7a /tools/perf/scripts/python | |
parent | e6ebe6c12355538e9238e2051bd6757b12dbfe9c (diff) |
can: raw: use temp variable instead of rolling back config
Introduce a temporary variable to check for an invalid configuration
attempt from user space. Before this patch the value was copied to
the real config variable and rolled back in the case of an error.
Suggested-by: Marc Kleine-Budde <[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')
0 files changed, 0 insertions, 0 deletions