Re: linux-next: build failure after merge of the leds tree

Pavel Machek
2022-09-26T21:18:07Z

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Hi!

> After merging the leds tree, today's linux-next build (x86 allmodconfig)
> failed like this:
>
> /tmp/next/build/drivers/leds/leds-pca963x.c: In function 'pca963x_register_leds':
> /tmp/next/build/drivers/leds/leds-pca963x.c:355:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
> 355 | if (hw_blink)
> | ^~
> /tmp/next/build/drivers/leds/leds-pca963x.c:357:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
> 357 | led->blinking = false;
> | ^~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> fd6dd9584ed3ee6deb ("leds: pca963x: fix blink with hw acceleration")

Thanks, fixed and pushed out. Someone please check my fix is right.

Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]