[PATCH] pcf50606: Fix wrong indexing in show_chgstate

Mike Montour mail at mmontour.net
Fri Jan 25 15:28:29 CET 2008


Andy Green wrote:

> It's much less of a problem that what you're fixing here, but the "real"
> problem is that the shifted constants are used in that array.  It's
> wasting like 80+ bytes like that in the sparsely populated array of
> pointers to names.

This issue has also been reported as OM bug #1187, and I put a patch 
there that gets rid of the sparse array problem. Feel free to adapt or 
modify it as needed for style issues, etc.





More information about the openmoko-kernel mailing list