Re: [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 23, 2022 at 04:05:02PM +0100, Linus Walleij wrote:
> Hi Jonathan,
> 
> this driver just keeps creating new sparse warnings, I try to fix them
> but I wonder
> if new warnings will result everytime I fix something?

Hm, sorry about the chaos.

> Do you think you could run sparse over the drivers in some way and check
> what else needs to be fixed?

I ran "make C=1" on drivers/pinctrl/nuvoton now, and only noticed the
same array initializer syntax warning as in pinctrl-wpcm450, in pinctrl-npcm7xx.

> 
> Yours,
> Linus Walleij
> 
> On Wed, Mar 23, 2022 at 3:52 PM kernel test robot <lkp@xxxxxxxxx> wrote:
> >
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
> > branch HEAD: 0c3c8458428ab471178a0d155222eaa62083d033  pinctrl: nuvoton: Fix sparse warning
> >
> > Error/Warning reports:
> >
> > https://lore.kernel.org/linux-gpio/202203222145.UcCrXHfm-lkp@xxxxxxxxx
> >
> > Unverified Error/Warning (likely false positive, please contact us if interested):
> >
> > drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:26: error: array type has incomplete element type 'struct group_desc'
> > drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:40: error: array has incomplete element type 'struct group_desc'
> > drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:824:56: warning: parameter 'selector' set but not used [-Wunused-but-set-parameter]
> > drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:888:48: warning: parameter 'group' set but not used [-Wunused-but-set-parameter]

This bunch was fixed with my patch "pinctrl: nuvoton: wpcm450: select
GENERIC_PINCTRL_GROUPS". There are also two more fixes sent by Jialin
Zhang and Dan Carpenter over the past week.

> > include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant

Unsure about this one.


Best regards,
Jonathan

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux