kernel_optimize_test/scripts/clang-tools
Kortan 7843861e21 gen_compile_commands: fix missing 'sys' package
commit ec783c7cb2495c5a3b8ca10db8056d43c528f940 upstream.

We need to import the 'sys' package since the script has called
sys.exit() method.

Fixes: 6ad7cbc015 ("Makefile: Add clang-tidy and static analyzer support to makefile")
Signed-off-by: Kortan <kortanzh@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 12:27:58 +02:00
..
gen_compile_commands.py gen_compile_commands: fix missing 'sys' package 2021-09-22 12:27:58 +02:00
run-clang-tools.py scripts/clang-tools: switch explicitly to Python 3 2021-06-03 09:00:52 +02:00