]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1ddb5feb0ad9b5ab6be63d4e0ed43083906df40
tree3603e7647b9c398b6ee4f6ba3571d4931a26f1e2
parent9d8d52bb87dbbef9758008b44929d29477bc88bc
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