Re: linux-next: build warning after merge of the mfd tree
From: Benjamin Gaignard
Date: Wed Jan 25 2017 - 03:13:40 EST
2017-01-25 5:54 GMT+01:00 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>:
> Hi Lee,
>
> After merging the mfd tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> drivers/pwm/pwm-stm32.c: In function 'stm32_pwm_apply':
> drivers/pwm/pwm-stm32.c:204:33: warning: 'curstate.polarity' may be used uninitialized in this function [-Wmaybe-uninitialized]
> if (state->polarity != curstate.polarity)
> ^
>
I will send a patch to fix that today
Benjamin
> Introduced by commit
>
> bafffb6e7bd1 ("pwm: Add driver for STM32 plaftorm")
>
> --
> Cheers,
> Stephen Rothwell
--
Benjamin Gaignard
Graphic Study Group
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog