Commit 05137c1c authored by Kortan's avatar Kortan Committed by Zheng Zengkai
Browse files

gen_compile_commands: fix missing 'sys' package

stable inclusion
from stable-5.10.68
commit 7843861e214026bd867d19e832de10d16a52e757
bugzilla: 182671 https://gitee.com/openeuler/kernel/issues/I4EWUH

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7843861e214026bd867d19e832de10d16a52e757



--------------------------------

commit ec783c7c upstream.

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

Fixes: 6ad7cbc0 ("Makefile: Add clang-tidy and static analyzer support to makefile")
Signed-off-by: default avatarKortan <kortanzh@gmail.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 21314b6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment