Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masanari Iida and committed by
Jonathan Corbet
ae17a87d 5d87a337

+3 -3
+3 -3
Documentation/sphinx/kfigure.py
··· 81 81 # ------------- 82 82 83 83 def which(cmd): 84 - """Searches the ``cmd`` in the ``PATH`` enviroment. 84 + """Searches the ``cmd`` in the ``PATH`` environment. 85 85 86 86 This *which* searches the PATH for executable ``cmd`` . First match is 87 87 returned, if nothing is found, ``None` is returned. ··· 419 419 420 420 tmp_ext = RENDER_MARKUP_EXT.get(srclang, None) 421 421 if tmp_ext is None: 422 - app.warn('kernel-render: "%s" unknow / include raw.' % (srclang)) 422 + app.warn('kernel-render: "%s" unknown / include raw.' % (srclang)) 423 423 return 424 424 425 425 if not dot_cmd and tmp_ext == '.dot': ··· 482 482 srclang = self.arguments[0].strip() 483 483 if srclang not in RENDER_MARKUP_EXT.keys(): 484 484 return [self.state_machine.reporter.warning( 485 - 'Unknow source language "%s", use one of: %s.' % ( 485 + 'Unknown source language "%s", use one of: %s.' % ( 486 486 srclang, ",".join(RENDER_MARKUP_EXT.keys())), 487 487 line=self.lineno)] 488 488