aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorVishal Chourasia <[email protected]>2023-08-29 07:49:31 +0000
committerDaniel Borkmann <[email protected]>2023-08-31 11:56:31 +0000
commit121fd33bf2d99007f8fe2a155c291a30baca3f52 (patch)
tree11b6b7022edde39befcec701fcd87304d80ae297 /tools/testing/selftests/bpf/prog_tests
parentxsk: Fix xsk_diag use-after-free error during socket cleanup (diff)
downloadkernel-121fd33bf2d99007f8fe2a155c291a30baca3f52.tar.gz
kernel-121fd33bf2d99007f8fe2a155c291a30baca3f52.zip
bpf, docs: Fix invalid escape sequence warnings in bpf_doc.py
The script bpf_doc.py generates multiple SyntaxWarnings related to invalid escape sequences when executed with Python 3.12. These warnings do not appear in Python 3.10 and 3.11 and do not affect the kernel build, which completes successfully. This patch resolves these SyntaxWarnings by converting the relevant string literals to raw strings or by escaping backslashes. This ensures that backslashes are interpreted as literal characters, eliminating the warnings. Reported-by: Srikar Dronamraju <[email protected]> Signed-off-by: Vishal Chourasia <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions