Did you verified effects on generated code/data size?
> + for (p= &table[0].bpp; *p < bpp; p+= sizeof table[0]);
> + var->red .offset= *++p; var->red .length= *++p;
> + var->green .offset= *++p; var->green .length= *++p;
> + var->blue .offset= *++p; var->blue .length= *++p;
> + var->transp.offset= *++p; var->transp.length= *++p;
Please no. Access fields by their names, and do not assume anything
about padding.
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/