[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <617E1C2C70743745A92448908E030B2A022DBC43@scsmsx411.amr.corp.intel.com>
Date: Thu, 16 Aug 2007 09:26:42 -0700
From: "Luck, Tony" <tony.luck@...el.com>
To: <trenn@...e.de>, "Rusty Russell" <rusty@...tcorp.com.au>
Cc: "Adrian Bunk" <bunk@...sta.de>, "Sam Ravnborg" <sam@...nborg.org>,
"Jan Dittmer" <jdi@....org>, "Len Brown" <lenb@...nel.org>,
"Linus Torvalds" <torvalds@...ux-foundation.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
<linux-acpi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-ia64@...r.kernel.org>
Subject: RE: scripts/mod/file2alias.c cross compile problem
> -#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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists