From patchwork Thu May 21 08:25:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, Yakui" X-Patchwork-Id: 25193 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 n4L8OOvW019002 for ; Thu, 21 May 2009 08:24:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750757AbZEUIYS (ORCPT ); Thu, 21 May 2009 04:24:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751042AbZEUIYS (ORCPT ); Thu, 21 May 2009 04:24:18 -0400 Received: from mga09.intel.com ([134.134.136.24]:12674 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbZEUIYR (ORCPT ); Thu, 21 May 2009 04:24:17 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 May 2009 01:13:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,226,1241420400"; d="scan'208";a="517593072" Received: from yakui_zhao.sh.intel.com (HELO [10.239.13.58]) ([10.239.13.58]) by orsmga001.jf.intel.com with ESMTP; 21 May 2009 01:23:30 -0700 Subject: [PATCH]: ACPI: Change the array size from 5 to 8 for acpi_bus_id From: yakui_zhao To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org Organization: Intel Open Source Technology Center Date: Thu, 21 May 2009 16:25:35 +0800 Message-Id: <1242894335.8523.61.camel@localhost.localdomain> 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 From: Zhao Yakui In fact the following three bytes can't be used when the following data type is unsigned long or unsigned long long. Change the array size from 5 to 8 for the acpi_bus_id. Signed-off-by: Zhao Yakui --- include/acpi/acpi_bus.h | 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/include/acpi/acpi_bus.h =================================================================== --- linux-2.6.orig/include/acpi/acpi_bus.h 2009-04-20 09:13:42.000000000 +0800 +++ linux-2.6/include/acpi/acpi_bus.h 2009-05-21 16:18:25.000000000 +0800 @@ -168,7 +168,7 @@ /* Plug and Play */ -typedef char acpi_bus_id[5]; +typedef char acpi_bus_id[8]; typedef unsigned long acpi_bus_address; typedef char acpi_hardware_id[15]; typedef char acpi_unique_id[9];