Are you sure it's padding the unions, and not just treating the unions
as structs?  What is the size of this union?

union a {
        int x;
        short y;
};

regards,
dan carpenter
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to