[lkml]   [2006]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] SPI: improve sysfs compiler complaint handling

    > Does anyone know why the GCC folk have decided to go against decades
    > of common practice here???

    because it's new semantics. I was involved in this GCC feature (not in
    the coding just in the asking for it) and this behavior was specifically
    requested: It is called __must_check, you MUST CHECK it. It's not the
    normal "unused warning", by putting the attribute on the function you
    tell gcc that the result MUST be checked. Just a cast to void isn't
    checking it.... so it rightfully warns.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-10-12 20:43    [W:0.019 / U:49.844 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site