I have a comment about the existing _PLD support in Linux.

It uses bitfields, and these are known to not be reliable when using them to 
extract bits from a predefined bit-packed data structure. (different compilers 
implement bitfields differently, and there are also endian considerations.)

We are working on a patch to remove these bitfield definitions and also create 
a function that returns a useable struct from _PLD.

Bob

> +struct acpi_pld {
> +     unsigned int revision:7; /* 0 */
> +     unsigned int ignore_colour:1; /* 7 */
> +     unsigned int colour:24; /* 8 */




--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to