[Ksummit-discuss] [TECH TOPIC] How to encourage driver authors to annotate integer endianness properly

Alexey Dobriyan adobriyan at gmail.com
Wed Oct 25 12:40:30 UTC 2017


On 10/25/17, Bart Van Assche <Bart.VanAssche at wdc.com> wrote:
> I think we need a way to encourage driver authors
> to pay attention to endianness annotations,

typedef struct {
        uint32_t _;
} __le32;

The problems of sparse are:
a) it is not mandatory part of kernel compilation, and
b) it doesn't break compilation.


More information about the Ksummit-discuss mailing list