summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorVishal Chourasia <vishalc@linux.ibm.com>2023-08-29 09:49:31 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2023-08-31 13:56:31 +0200
commit121fd33bf2d99007f8fe2a155c291a30baca3f52 (patch)
tree11b6b7022edde39befcec701fcd87304d80ae297 /net
parentxsk: Fix xsk_diag use-after-free error during socket cleanup (diff)
downloadlinux-121fd33bf2d99007f8fe2a155c291a30baca3f52.tar.xz
linux-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 <srikar@linux.vnet.ibm.com> Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Tested-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20230829074931.2511204-1-vishalc@linux.ibm.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions