summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2023-02-03 12:08:07 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2023-02-08 23:53:24 +0300
commitf2f527d595963aa86464ca3e05ec27dd5153d56e (patch)
tree35319326bb4432bc1434d68ba5899f29609f4c7a /tools/perf/scripts/python/export-to-sqlite.py
parente6ebe6c12355538e9238e2051bd6757b12dbfe9c (diff)
downloadlinux-f2f527d595963aa86464ca3e05ec27dd5153d56e.tar.xz
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 <mkl@pengutronix.de> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://lore.kernel.org/all/20230203090807.97100-1-socketcan@hartkopp.net Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions