RE: scripts/mod/file2alias.c cross compile problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: <trenn@xxxxxxx>, "Rusty Russell" <rusty@xxxxxxxxxxxxxxx>
- Subject: RE: scripts/mod/file2alias.c cross compile problem
- From: "Luck, Tony" <tony.luck@xxxxxxxxx>
- Date: Thu, 16 Aug 2007 09:26:42 -0700
- Cc: "Adrian Bunk" <bunk@xxxxxxxxx>, "Sam Ravnborg" <sam@xxxxxxxxxxxx>, "Jan Dittmer" <jdi@xxxxxxx>, "Len Brown" <lenb@xxxxxxxxxx>, "Linus Torvalds" <torvalds@xxxxxxxxxxxxxxxxxxxx>, "Andrew Morton" <akpm@xxxxxxxxxxxxxxxxxxxx>, <linux-acpi@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>
- In-reply-to: <1187274435.8780.780.camel@xxxxxxxxxxxxx>
- References: <617E1C2C70743745A92448908E030B2A0211AFF0@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1186092501.6131.154.camel@xxxxxxxxxxxxxxxxxxxxx> <1187274435.8780.780.camel@xxxxxxxxxxxxx>
- Thread-index: AcfgEZCxdOEJsOxeTUKTEguWO2GblgAEAw2A
- Thread-topic: 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-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]