summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2007-10-18 12:06:29 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 23:37:27 +0200
commit6c0286b199c3eb2caa973525dfc8a7ed67090ec0 (patch)
treedb8db495e18e2140e5f8f4d15eb759a3893b4a48
parentChar: rocket, remove potential leak in module_init (diff)
downloadlinux-6c0286b199c3eb2caa973525dfc8a7ed67090ec0.tar.xz
linux-6c0286b199c3eb2caa973525dfc8a7ed67090ec0.zip
Char: rocket, fix signed/unsigned warning
Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/char/rocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index abe3ad0f6195..7e6a3a413bb2 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -549,8 +549,8 @@ static void rp_handle_port(struct r_port *info)
static void rp_do_poll(unsigned long dummy)
{
CONTROLLER_t *ctlp;
- int ctrl, aiop, ch, line, i;
- unsigned int xmitmask;
+ int ctrl, aiop, ch, line;
+ unsigned int xmitmask, i;
unsigned int CtlMask;
unsigned char AiopMask;
Word_t bit;