diff options
author | Nícolas F. R. A. Prado <nfraprado@protonmail.com> | 2020-10-14 02:13:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-10-15 08:49:38 +0300 |
commit | f66e47f98c1e827a85654a8cfa1ba539bb381a1b (patch) | |
tree | c53095ea23d2ecb9007b4f3cdbfa60e7f54c576d /drivers/phy/marvell | |
parent | 06dc65b0fa6130aae73927399269bdea1b7658d8 (diff) | |
download | linux-f66e47f98c1e827a85654a8cfa1ba539bb381a1b.tar.xz |
docs: automarkup.py: Fix regexes to solve sphinx 3 warnings
With the transition to Sphinx 3, new warnings were generated by
automarkup, exposing bugs in the regexes.
The warnings were caused by the expressions matching words in the
translated versions of the documentation, since any unicode character
was matched.
Fix the regular expression by making the C regexes use ASCII and
ensuring the expressions only match the beginning of words,
in order to avoid warnings like this:
WARNING: Unparseable C cross-reference: '调用debugfs_rename'
That's probably due to the lack of using spaces between words
on Chinese.
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@protonmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/phy/marvell')
0 files changed, 0 insertions, 0 deletions