]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - scripts/get_abi.pl
scripts: get_abi.pl: better handle escape chars on what:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 25 Mar 2021 10:38:22 +0000 (11:38 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 31 Mar 2021 19:53:15 +0000 (13:53 -0600)
commitb0f9580a88803472d7c05d89365902a64f076df4
tree3603e7647b9c398b6ee4f6ba3571d4931a26f1e2
parent2bb5baf9d22764fff6baca4c3ad93055848bbf03
scripts: get_abi.pl: better handle escape chars on what:

The parser for the symbols defined on What: doesn't cover all
chars that need to be scaped, like '{' and '}'. Change the logic
to be more generic, and ensure that the same regex will be used
on both What: and when parsing the cross-references.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/29cb56def89b508fe605bcd2ba74a4376cc08e35.1616668017.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/get_abi.pl