]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gen_compile_commands: fix invalid escape sequence warning
authorAndrew Ballance <andrewjballance@gmail.com>
Wed, 14 Feb 2024 01:23:05 +0000 (19:23 -0600)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:11 +0000 (18:19 -0400)
commitb98f2b8653de7ba4391d283ea6864f7e1105978e
tree217de02e97b0ed8a0a8f40681e1a9d3a4f909db3
parent3cac6eebea9b4bc5f041e157e45c76e212ad6759
gen_compile_commands: fix invalid escape sequence warning

[ Upstream commit dae4a0171e25884787da32823b3081b4c2acebb2 ]

With python 3.12, '\#' results in this warning
    SyntaxWarning: invalid escape sequence '\#'

Signed-off-by: Andrew Ballance <andrewjballance@gmail.com>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/clang-tools/gen_compile_commands.py