]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Documentation: sphinx: Add missing comma to list of strings
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Mon, 12 Aug 2019 16:07:04 +0000 (18:07 +0200)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 27 Sep 2019 12:11:59 +0000 (07:11 -0500)
BugLink: https://bugs.launchpad.net/bugs/1845642
commit 11fec009d97e5bd2329ef7d52d71e9f6763f1048 upstream.

In Python, like in C, when a comma is omitted in a list of strings, the
two strings around the missing comma are concatenated.

Cc: stable@vger.kernel.org # v5.2 only
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Documentation/sphinx/automarkup.py

index 77e89c1956d7dacbe69142665305ccf7cb0cf06c..a8798369e8f7df53b07ac2362b191a8c8f2c9cd4 100644 (file)
@@ -25,7 +25,7 @@ RE_function = re.compile(r'([\w_][\w\d_]+\(\))')
 # to the creation of incorrect and confusing cross references.  So
 # just don't even try with these names.
 #
-Skipfuncs = [ 'open', 'close', 'read', 'write', 'fcntl', 'mmap'
+Skipfuncs = [ 'open', 'close', 'read', 'write', 'fcntl', 'mmap',
               'select', 'poll', 'fork', 'execve', 'clone', 'ioctl']
 
 #