aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-06-08 03:25:40 -0400
committerJani Nikula <jani.nikula@intel.com>2016-06-10 04:29:21 -0400
commit057de5c4dd536bdf29275ec75910737087594860 (patch)
tree8e15ec83b611482f942c0e7888d3dcefa683eb84 /Documentation/sphinx
parent06173fe33a3fd239540bd188f1f12a39e99b6c83 (diff)
Documentation/sphinx: use a more sensible string split in kernel-doc extension
Using the default str.split doesn't return empty strings like the current version does. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'Documentation/sphinx')
-rw-r--r--Documentation/sphinx/kernel-doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kernel-doc.py
index 2856376cc62c..d6a76f9a0ba5 100644
--- a/Documentation/sphinx/kernel-doc.py
+++ b/Documentation/sphinx/kernel-doc.py
@@ -68,7 +68,7 @@ class KernelDocDirective(Directive):
68 elif 'doc' in self.options: 68 elif 'doc' in self.options:
69 cmd += ['-function', str(self.options.get('doc'))] 69 cmd += ['-function', str(self.options.get('doc'))]
70 elif 'functions' in self.options: 70 elif 'functions' in self.options:
71 for f in str(self.options.get('functions')).split(' '): 71 for f in str(self.options.get('functions')).split():
72 cmd += ['-function', f] 72 cmd += ['-function', f]
73 73
74 cmd += [filename] 74 cmd += [filename]