Re: [PATCH v3 4/4] leds: Add virtualcolor LED group driver

Jonathan Brophy
2025-10-20T17:41:02Z

From: Dan Carpenter <dan.carpenter@linaro.org>
Sent: Monday, October 20, 2025 8:13 PM

>Hi Jonathan,
>
>kernel test robot noticed the following build warnings:
>
>patch subject: [PATCH v3 4/4] leds: Add virtualcolor LED group driver
>
>drivers/leds/rgb/leds-group-virtualcolor.c:303 parse_monochromatic_leds() warn: 'mono_count' unsigned <= 0
>
>drivers/leds/rgb/leds-group-virtualcolor.c:303 parse_monochromatic_leds() warn: error code type promoted to positive: >'mono_count'
>
>bc8d39d8adf81b2 Jonathan Brophy 2025-10-19  299          u32 mono_count;
>
>
>This needs to be an int.

Thank you My compiler did not pick this up.