[PATCH] io_start uses unsigned int instead of int

From: Zhang Rui
Date: Wed Jun 24 2009 - 01:23:00 EST



Use unsigned int instead of int
http://bugzilla.kernel.org/show_bug.cgi?id=13253

Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
---
kernel/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/kernel/resource.c
===================================================================
--- linux-2.6.orig/kernel/resource.c
+++ linux-2.6/kernel/resource.c
@@ -787,7 +787,7 @@ static int __init reserve_setup(char *st
static struct resource reserve[MAXRESERVE];

for (;;) {
- int io_start, io_num;
+ unsigned int io_start, io_num;
int x = reserved;

if (get_option (&str, &io_start) != 2)


--
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/