From patchwork Tue Jun 2 07:11:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Rui" X-Patchwork-Id: 27403 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n527B6A1009229 for ; Tue, 2 Jun 2009 07:11:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754687AbZFBHLC (ORCPT ); Tue, 2 Jun 2009 03:11:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754929AbZFBHLC (ORCPT ); Tue, 2 Jun 2009 03:11:02 -0400 Received: from mga02.intel.com ([134.134.136.20]:16854 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754687AbZFBHLC (ORCPT ); Tue, 2 Jun 2009 03:11:02 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 02 Jun 2009 00:02:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,289,1241420400"; d="scan'208";a="418038792" Received: from rzhang-dt.sh.intel.com (HELO [10.239.36.94]) ([10.239.36.94]) by orsmga002.jf.intel.com with ESMTP; 02 Jun 2009 00:18:31 -0700 Subject: [PATCH] io_start uses unsigned int instead of int From: Zhang Rui To: Len Brown Cc: linux-acpi Date: Tue, 02 Jun 2009 15:11:40 +0800 Message-Id: <1243926700.9076.1.camel@rzhang-dt> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 (2.22.1-2.fc9) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 --- 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 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)