lkml.org 
[lkml]   [2007]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: scripts/mod/file2alias.c cross compile problem
    Date
    From
    > -#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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-08-16 18:29    [W:0.030 / U:91.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site