I'm working through my patch trying to get it checkpatch clean and one of
the thingns that checkpatch is complaining about is the use of anonymous
bit fields.  For example:

struct foo {
     uint32_t  :2;                   /* We don't care about these bits */
     uing32_t goodstuff:12;  /* The stuff we care about */
    ....
}.

this is legitimate C but checkpatch flags this as an error.  So we're
supposed to make up dummy names for what would otherwise be anonymous
bitfields?  Not sure I understand the logic behind that.

Any insights?

Bill
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to