Hi Hans, On Mon, 2024-04-08 at 18:41 +0200, Hans de Goede wrote: > > + next = find_next_bit_wrap(cur_profile->choices, > > + ARRAY_SIZE(profile_names), profile + 1); > > + > > + if (WARN_ON(next == ARRAY_SIZE(profile_names))) { > > Other code in drivers/acpi/platform_profile.c uses PLATFORM_PROFILE_LAST > instead of ARRAY_SIZE(profile_names) (these are guaranteed to be equal) > please switch to using PLATFORM_PROFILE_LAST for consistency. > Thanks for the review. I changed these in v6. Best regards, Gergo