Thread (8 messages) 8 messages, 4 authors, 2007-08-16

RE: scripts/mod/file2alias.c cross compile problem

From: "Luck, Tony" <tony.luck@intel.com>
Date: 2007-08-16 16:27:14
Also in: lkml

-#define ACPI_ID_LEN	9
+#define ACPI_ID_LEN	16 /* only 9 bytes needed here, 16 bytes are used */
What will happen if someone uses more than 9 bytes?  With the old
limit there would be a compile time error it someone initialized
with:

	{"PNP0C0ABCDEFGH", 0},

But if we change ACPI_ID_LEN the error will move to run-time.

-Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help