diff mbox

io_start uses unsigned int instead of int

Message ID 1243926700.9076.1.camel@rzhang-dt (mailing list archive)
State Accepted
Headers show

Commit Message

Zhang Rui June 2, 2009, 7:11 a.m. UTC
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(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Len Brown June 24, 2009, 3:47 a.m. UTC | #1
Rui,
Please send this to akpm cc: lkml

thanks,
Len Brown, Intel Open Source Technology Center

On Tue, 2 Jun 2009, Zhang Rui wrote:

> 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)
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)