summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2024-02-20 11:16:16 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-02-20 11:40:46 +0300
commit00bf80c437dcbbd808d61cc2866c8f065ff436bd (patch)
treeb0166c3d4fa8e4e26b30b7105bf032e0a60208c4 /tools/perf/scripts/python
parentc8fba5d6df5e476aa791db4f1f014dad2bb5e904 (diff)
downloadlinux-00bf80c437dcbbd808d61cc2866c8f065ff436bd.tar.xz
can: raw: raw_getsockopt(): reduce scope of err
Reduce the scope of the variable "err" to the individual cases. This is to avoid the mistake of setting "err" in the mistaken belief that it will be evaluated later. Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Link: https://lore.kernel.org/all/20240220-raw-setsockopt-v1-1-7d34cb1377fc@pengutronix.de Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions