[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <1335225196118637291@wsc.cz>
Date: Tue, 23 Jan 2007 15:42:52 +0100 (CET)
From: Jiri Slaby <jirislaby@...il.com>
To: Andrew Morton <akpm@...l.org>
Cc: <osv@...ad.com>
Subject: [PATCH 3/3] Char: mxser_new, fix sparse warning
mxser_new, fix sparse warning
Feed NULL instead of 0 where pointer is expected.
Signed-off-by: Jiri Slaby <jirislaby@...il.com>
Cc: <osv@...ad.com>
---
commit e87e9f65c3ac51d447cfe435217032a07f7a56e0
tree fbb8597542ed5919d3fae6b9ab45865e0659e922
parent 76b3ee2d5737395df62553cec1b8193252476147
author Jiri Slaby <jirislaby@...il.com> Tue, 23 Jan 2007 01:43:13 +0059
committer Jiri Slaby <jirislaby@...il.com> Tue, 23 Jan 2007 01:43:13 +0059
drivers/char/mxser_new.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index d52ecff..9af07e4 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -1708,7 +1708,7 @@ static int mxser_ioctl(struct tty_struct *tty, struct file *file,
info->speed = speed;
spin_lock_irqsave(&info->slock, flags);
- mxser_change_speed(info, 0);
+ mxser_change_speed(info, NULL);
spin_unlock_irqrestore(&info->slock, flags);
return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists