On Thu, Apr 15, 2010 at 15:42, Mike Brudevold <mike@xxxxxxxxxxxxx> wrote: > In my testing, the git version would not enumerate all available > profiles, whereas this patch would. I think this went unnoticed > because there is a second set of code (cd_capability_compat) that > checks for what types of media the drive supports, so the information > was still available. We retrieve a list of features, and only feature 0 is the list of profiles. I reworked the logic to use two loops to iterate over the lists, and use the variable length field of the "profiles" feature to find the correct number of profiles. Hope that fixes the problem you are seeing. Thanks, Kay -- 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