diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-10 01:45:24 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:29 -0800 |
commit | a136e99f12cdc967a6f607644e471ed749f963db (patch) | |
tree | 5d7fa1b34482db7c0d77f3d41c68198538a6cf43 | |
parent | 5ff7205dd9084c96cf2bedc4d0481790c5a7a635 (diff) |
[PATCH] Char: mxser_new, fix sparse warning
Feed NULL instead of 0 where pointer is expected.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: <osv@javad.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | 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 d52ecff7320..9af07e4999d 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; |