Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1566324 > unrolled thread

linux-next: build warning after merge of the mfd tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-01-25 06:00 +0100
Last post2017-01-25 09:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the mfd tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-01-25 06:00 +0100
    Re: linux-next: build warning after merge of the mfd tree Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-01-25 09:20 +0100

#1566324 — linux-next: build warning after merge of the mfd tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-01-25 06:00 +0100
Subjectlinux-next: build warning after merge of the mfd tree
Message-ID<t3nQB-5Be-9@gated-at.bofh.it>
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)
                                 ^

Introduced by commit

  bafffb6e7bd1 ("pwm: Add driver for STM32 plaftorm")

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1566369

FromBenjamin Gaignard <benjamin.gaignard@linaro.org>
Date2017-01-25 09:20 +0100
Message-ID<t3qYa-7K2-5@gated-at.bofh.it>
In reply to#1566324
2017-01-25 5:54 GMT+01:00 Stephen Rothwell <sfr@canb.auug.org.au>:
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web