[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5072d959-5bfa-4b8a-8bb4-496df7940919@kernel.org>
Date: Wed, 29 Jan 2025 20:13:14 +0000
From: Quentin Monnet <qmo@...nel.org>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Jonathan Corbet <corbet@....net>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc: Daniel Borkmann <daniel@...earbox.net>,
Eduard Zingerman <eddyz87@...il.com>, Hao Luo <haoluo@...gle.com>,
John Fastabend <john.fastabend@...il.com>,
Martin KaFai Lau <martin.lau@...ux.dev>, Mykola Lysenko <mykolal@...com>,
Stanislav Fomichev <sdf@...ichev.me>, Yonghong Song
<yonghong.song@...ux.dev>, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 5/6] tools: selftests/bpf: test_bpftool_synctypes: escape
raw symbols
2025-01-29 18:39 UTC+0100 ~ Mauro Carvalho Chehab
<mchehab+huawei@...nel.org>
> Modern Python versions complain about usage of "\" inside normal
> strings, as they should use r-string notation.
>
> Change the annotations there to avoid such warnings:
>
> tools/testing/selftests/bpf/test_bpftool_synctypes.py:319: SyntaxWarning: invalid escape sequence '\w' pattern = re.compile('([\w-]+) ?(?:\||}[ }\]"])')
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Hi, and thanks! But please note we have a fix for this in the bpf-next
tree already:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=c5d2bac978c513e1f22273cba9c55db3778032e5
Thanks,
Quentin
Powered by blists - more mailing lists