All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] io_start uses unsigned int instead of int
@ 2009-06-24  5:23 Zhang Rui
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang Rui @ 2009-06-24  5:23 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List, Zhang, Rui


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

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
 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)



^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] io_start uses unsigned int instead of int
@ 2009-06-02  7:11 Zhang Rui
  2009-06-24  3:47 ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Rui @ 2009-06-02  7:11 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi

Not sure which mail list I should send to.

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

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
 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)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-24  5:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-24  5:23 [PATCH] io_start uses unsigned int instead of int Zhang Rui
  -- strict thread matches above, loose matches on Subject: below --
2009-06-02  7:11 Zhang Rui
2009-06-24  3:47 ` Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.