public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>
Subject: [PATCH 2.6.5-rc2] fs/proc/proc_tty.c cosmetic fix
Date: Sat, 20 Mar 2004 20:23:45 +0100	[thread overview]
Message-ID: <200403202023.45860@WOLK> (raw)

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

Hi Linus, Andrew,

The comment of proc_tty_register_driver has "register_tty_driver()" which is 
"tty_register_driver()" in all drivers.

The comment of proc_tty_unregister_driver has "unregister_tty_driver()" which 
is "tty_unregister_driver()" in all drivers too.

Spelling error "Thsi" is obviously "This" ;)

Please apply.

ciao, Marc

[-- Attachment #2: cosmetic-fix.patch --]
[-- Type: text/x-diff, Size: 790 bytes --]

# proc_tty.c |    4 ++--
# 1 files changed, 2 insertions(+), 2 deletions(-)

--- old/fs/proc/proc_tty.c	2004-03-17 13:42:09.000000000 +0100
+++ wolk-for-2.6/fs/proc/proc_tty.c	2004-03-09 13:33:35.000000000 +0100
@@ -181,7 +181,7 @@ static int tty_ldiscs_read_proc(char *pa
 }
 
 /*
- * Thsi function is called by register_tty_driver() to handle
+ * This function is called by tty_register_driver() to handle
  * registering the driver's /proc handler into /proc/tty/driver/<foo>
  */
 void proc_tty_register_driver(struct tty_driver *driver)
@@ -205,7 +205,7 @@ void proc_tty_register_driver(struct tty
 }
 
 /*
- * This function is called by unregister_tty_driver()
+ * This function is called by tty_unregister_driver()
  */
 void proc_tty_unregister_driver(struct tty_driver *driver)
 {

                 reply	other threads:[~2004-03-20 19:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403202023.45860@WOLK \
    --to=m.c.p@wolk-project.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox