diff options
author | Masanari Iida <standby24x7@gmail.com> | 2018-01-11 20:00:28 +0900 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-01-17 16:49:05 -0700 |
commit | ae17a87dd7c79fa742ef5dcf06d1095eec4e1925 (patch) | |
tree | b74695c84fefaed5044810f42eb502fb1d46fcbc | |
parent | 5d87a33782d36c5f2192c93612262deaaa57ad50 (diff) | |
download | op-kernel-dev-ae17a87dd7c79fa742ef5dcf06d1095eec4e1925.zip op-kernel-dev-ae17a87dd7c79fa742ef5dcf06d1095eec4e1925.tar.gz |
linux-next: docs-rst: Fix typos in kfigure.py
This patch fixes some spelling typos found in kfigure.py
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/sphinx/kfigure.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/sphinx/kfigure.py b/Documentation/sphinx/kfigure.py index cef4ad1..b97228d 100644 --- a/Documentation/sphinx/kfigure.py +++ b/Documentation/sphinx/kfigure.py @@ -81,7 +81,7 @@ __version__ = '1.0.0' # ------------- def which(cmd): - """Searches the ``cmd`` in the ``PATH`` enviroment. + """Searches the ``cmd`` in the ``PATH`` environment. This *which* searches the PATH for executable ``cmd`` . First match is returned, if nothing is found, ``None` is returned. @@ -419,7 +419,7 @@ def visit_kernel_render(self, node): tmp_ext = RENDER_MARKUP_EXT.get(srclang, None) if tmp_ext is None: - app.warn('kernel-render: "%s" unknow / include raw.' % (srclang)) + app.warn('kernel-render: "%s" unknown / include raw.' % (srclang)) return if not dot_cmd and tmp_ext == '.dot': @@ -482,7 +482,7 @@ class KernelRender(Figure): srclang = self.arguments[0].strip() if srclang not in RENDER_MARKUP_EXT.keys(): return [self.state_machine.reporter.warning( - 'Unknow source language "%s", use one of: %s.' % ( + 'Unknown source language "%s", use one of: %s.' % ( srclang, ",".join(RENDER_MARKUP_EXT.keys())), line=self.lineno)] |