diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2019-08-12 18:07:05 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-08-12 22:55:30 +0200 |
commit | 82bf829b692d6bc9c44cd43ddd75a9b04f1bfa8d (patch) | |
tree | 06d6ff7f9ae14c9d67b4817bcb2630eff692eb15 /scripts | |
parent | Documentation: sphinx: Add missing comma to list of strings (diff) | |
download | linux-82bf829b692d6bc9c44cd43ddd75a9b04f1bfa8d.tar.xz linux-82bf829b692d6bc9c44cd43ddd75a9b04f1bfa8d.zip |
Documentation: sphinx: Don't parse socket() as identifier reference
With the introduction of Documentation/sphinx/automarkup.py, socket() is
parsed as a reference to the in-kernel definition of socket. Sphinx then
decides that struct socket is a good match, which is usually not
intended, when the syscall is meant instead. This was observed in
Documentation/networking/af_xdp.rst.
Prevent socket() from being misinterpreted by adding it to the Skipfuncs
list in automarkup.py.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions