public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: ACPI: Change the array size from 5 to 8 for acpi_bus_id
@ 2009-05-21  8:25 yakui_zhao
  2009-05-21 18:26 ` Len Brown
  2009-05-27  3:55 ` Len Brown
  0 siblings, 2 replies; 5+ messages in thread
From: yakui_zhao @ 2009-05-21  8:25 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi

From: Zhao Yakui <yaui.zhao@intel.com>

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 <yakui.zhao@intel.com>
---
 include/acpi/acpi_bus.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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];



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

end of thread, other threads:[~2009-05-27  3:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21  8:25 [PATCH]: ACPI: Change the array size from 5 to 8 for acpi_bus_id yakui_zhao
2009-05-21 18:26 ` Len Brown
2009-05-21 19:07   ` Matthew Garrett
2009-05-22  2:08     ` yakui_zhao
2009-05-27  3:55 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox