All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Farning <dfarning@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [KJ]  [Patch] compile warning cleanup drivers/char/
Date: Sun, 10 Sep 2006 19:16:17 +0000	[thread overview]
Message-ID: <1157915777.4607.17.camel@dfarning-desktop> (raw)

hi,

warning:this is my first submission to kj.

This quiets a compile warning in drivers/char

Signed-off-by: David Farning <dfarning@gmail.com>

diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index bb0d919..dcf790c 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -2455,7 +2455,7 @@ #endif
 
 static int tty_open(struct inode * inode, struct file * filp)
 {
-	struct tty_struct *tty;
+	struct tty_struct *tty = NULL;
 	int noctty, retval;
 	struct tty_driver *driver;
 	int index;


_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

                 reply	other threads:[~2006-09-10 19:16 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=1157915777.4607.17.camel@dfarning-desktop \
    --to=dfarning@gmail.com \
    --cc=kernel-janitors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.