* [KJ] [Patch] compile warning cleanup drivers/char/
@ 2006-09-10 19:16 David Farning
0 siblings, 0 replies; only message in thread
From: David Farning @ 2006-09-10 19:16 UTC (permalink / raw)
To: kernel-janitors
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-10 19:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-10 19:16 [KJ] [Patch] compile warning cleanup drivers/char/ David Farning
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.