Skip to content

Commit

Permalink
linux-next: docs-rst: Fix typos in kfigure.py
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masanari Iida authored and Jonathan Corbet committed Jan 17, 2018
1 parent 5d87a33 commit ae17a87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/sphinx/kfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
# -------------

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.
Expand Down Expand Up @@ -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':
Expand Down Expand Up @@ -482,7 +482,7 @@ def build_node(self):
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)]

Expand Down

0 comments on commit ae17a87

Please sign in to comment.