diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2016-06-08 03:25:40 -0400 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2016-06-10 04:29:21 -0400 |
| commit | 057de5c4dd536bdf29275ec75910737087594860 (patch) | |
| tree | 8e15ec83b611482f942c0e7888d3dcefa683eb84 /Documentation/sphinx | |
| parent | 06173fe33a3fd239540bd188f1f12a39e99b6c83 (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.py | 2 |
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] |
