Hello Mike, mike@xxxxxxxxxxxxx [2010-04-14 20:38 -0500]: > - for (i = 12; i < profiles[11]; i += 4) { > + profiles_end = 12 + profiles[11]; > + for (i = 12; i < profiles_end; i += 4) { (This could just be written as "i < 12 + profiles[11]" for simplicity) Do you have some pointers which document this structure, in particular whether it's really the count and not the last offset? I searched for some minutes, but didn't find anything. It would be nice to add a reference to the spec to the code. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html