[PATCH 1/8] Char: mxser_new, fix sparse warning

From: Jiri Slaby
Date: Mon May 28 2007 - 09:26:50 EST


mxser_new, fix sparse warning

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>

---
commit 29f15033f00e36f622d0bcd5a2dd0f9a49981481
tree 2a332865460a2775256b5087f8da6ff8f1befdf0
parent 1f023432798b6e6fd52ad81af0eab250e1a71449
author Jiri Slaby <jirislaby@xxxxxxxxx> Sat, 26 May 2007 18:14:21 +0200
committer Jiri Slaby <jirislaby@xxxxxxxxx> Sat, 26 May 2007 18:14:21 +0200

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 6cde448..71b9657 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -1560,7 +1560,7 @@ static int mxser_ioctl_special(unsigned int cmd, void __user *argp)
return -EFAULT;
return 0;
case MOXA_ASPP_MON_EXT: {
- int status, p, shiftbit;
+ int p, shiftbit;
unsigned long opmode;
unsigned cflag, iflag;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/