projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06173fe
)
Documentation/sphinx: use a more sensible string split in kernel-doc extension
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 8 Jun 2016 07:25:40 +0000
(10:25 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 10 Jun 2016 08:29:21 +0000
(11:29 +0300)
Using the default str.split doesn't return empty strings like the
current version does.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Documentation/sphinx/kernel-doc.py
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/sphinx/kernel-doc.py
b/Documentation/sphinx/kernel-doc.py
index 2856376cc62c93fe8c0e96906ccdbe5c078f5ae9..d6a76f9a0ba5a8bcc1e554cd080ae893278891b2 100644
(file)
--- a/
Documentation/sphinx/kernel-doc.py
+++ b/
Documentation/sphinx/kernel-doc.py
@@
-68,7
+68,7
@@
class KernelDocDirective(Directive):
elif 'doc' in self.options:
cmd += ['-function', str(self.options.get('doc'))]
elif 'functions' in self.options:
- for f in str(self.options.get('functions')).split(
' '
):
+ for f in str(self.options.get('functions')).split():
cmd += ['-function', f]
cmd += [filename]