All of lore.kernel.org
 help / color / mirror / Atom feed
* [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033
@ 2022-03-23 14:51 kernel test robot
  2022-03-23 15:05 ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-03-23 14:51 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio

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@intel.com

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]
include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant

Error/Warning ids grouped by kconfigs:

gcc_recent_errors
|-- microblaze-randconfig-c024-20220323
|   `-- drivers-pinctrl-mediatek-pinctrl-mtk-common.c:Unneeded-semicolon
`-- parisc-randconfig-r006-20220323
    |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:error:array-type-has-incomplete-element-type-struct-group_desc
    |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:warning:parameter-group-set-but-not-used
    |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:warning:parameter-selector-set-but-not-used
    `-- include-linux-build_bug.h:error:bit-field-anonymous-width-not-an-integer-constant

clang_recent_errors
`-- hexagon-buildonly-randconfig-r005-20220323
    `-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:error:array-has-incomplete-element-type-struct-group_desc

elapsed time: 729m

configs tested: 131
configs skipped: 4

gcc tested configs:
arm                                 defconfig
arm64                            allyesconfig
arm64                               defconfig
arm                              allyesconfig
arm                              allmodconfig
i386                          randconfig-c001
mips                 randconfig-c004-20220323
arm                         axm55xx_defconfig
xtensa                    xip_kc705_defconfig
powerpc                    sam440ep_defconfig
mips                           jazz_defconfig
powerpc                      pasemi_defconfig
arm                           h3600_defconfig
sh                   sh7770_generic_defconfig
sh                            hp6xx_defconfig
arm                       omap2plus_defconfig
alpha                               defconfig
powerpc                     tqm8548_defconfig
ia64                             alldefconfig
sh                      rts7751r2d1_defconfig
sh                             sh03_defconfig
m68k                        mvme16x_defconfig
arm                            xcep_defconfig
s390                             allmodconfig
sh                          rsk7264_defconfig
arm                          simpad_defconfig
arm                           h5000_defconfig
nios2                         3c120_defconfig
sh                             espt_defconfig
powerpc                     pq2fads_defconfig
arm                         assabet_defconfig
um                               alldefconfig
ia64                         bigsur_defconfig
mips                         db1xxx_defconfig
parisc                generic-32bit_defconfig
sh                          rsk7203_defconfig
alpha                            alldefconfig
mips                      fuloong2e_defconfig
powerpc                        warp_defconfig
m68k                        mvme147_defconfig
sh                         ecovec24_defconfig
arm                             rpc_defconfig
riscv                               defconfig
sh                  sh7785lcr_32bit_defconfig
arm                  randconfig-c002-20220323
ia64                             allmodconfig
ia64                                defconfig
ia64                             allyesconfig
m68k                             allmodconfig
m68k                                defconfig
m68k                             allyesconfig
nds32                             allnoconfig
nios2                               defconfig
arc                              allyesconfig
alpha                            allyesconfig
csky                                defconfig
nds32                               defconfig
nios2                            allyesconfig
xtensa                           allyesconfig
h8300                            allyesconfig
arc                                 defconfig
sh                               allmodconfig
parisc                              defconfig
s390                             allyesconfig
parisc64                            defconfig
parisc                           allyesconfig
s390                                defconfig
i386                             allyesconfig
i386                              debian-10.3
i386                   debian-10.3-kselftests
i386                                defconfig
sparc                            allyesconfig
sparc                               defconfig
mips                             allyesconfig
mips                             allmodconfig
powerpc                          allyesconfig
powerpc                          allmodconfig
powerpc                           allnoconfig
x86_64                        randconfig-a006
x86_64                        randconfig-a004
x86_64                        randconfig-a002
i386                          randconfig-a003
i386                          randconfig-a001
i386                          randconfig-a005
x86_64                        randconfig-a013
x86_64                        randconfig-a011
x86_64                        randconfig-a015
i386                          randconfig-a012
i386                          randconfig-a014
i386                          randconfig-a016
arc                  randconfig-r043-20220323
riscv                randconfig-r042-20220323
s390                 randconfig-r044-20220323
riscv                    nommu_k210_defconfig
riscv                            allyesconfig
riscv                    nommu_virt_defconfig
riscv                             allnoconfig
riscv                            allmodconfig
riscv                          rv32_defconfig
x86_64                    rhel-8.3-kselftests
um                           x86_64_defconfig
um                             i386_defconfig
x86_64                           allyesconfig
x86_64                              defconfig
x86_64                               rhel-8.3
x86_64                          rhel-8.3-func
x86_64                         rhel-8.3-kunit
x86_64                                  kexec

clang tested configs:
x86_64                        randconfig-c007
mips                 randconfig-c004-20220323
arm                  randconfig-c002-20220323
powerpc              randconfig-c003-20220323
riscv                randconfig-c006-20220323
i386                          randconfig-c001
arm                    vt8500_v6_v7_defconfig
arm                       imx_v4_v5_defconfig
powerpc                     ksi8560_defconfig
powerpc                    mvme5100_defconfig
arm                              alldefconfig
powerpc                     kilauea_defconfig
i386                          randconfig-a002
i386                          randconfig-a006
i386                          randconfig-a004
x86_64                        randconfig-a012
x86_64                        randconfig-a014
x86_64                        randconfig-a016
i386                          randconfig-a011
i386                          randconfig-a013
i386                          randconfig-a015
x86_64                        randconfig-a001
x86_64                        randconfig-a003
x86_64                        randconfig-a005
hexagon              randconfig-r041-20220323
hexagon              randconfig-r045-20220323

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033
  2022-03-23 14:51 [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033 kernel test robot
@ 2022-03-23 15:05 ` Linus Walleij
  2022-03-23 16:46   ` Jonathan Neuschäfer
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2022-03-23 15:05 UTC (permalink / raw)
  To: kernel test robot, Jonathan Neuschäfer; +Cc: linux-gpio

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?

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

Yours,
Linus Walleij

On Wed, Mar 23, 2022 at 3:52 PM kernel test robot <lkp@intel.com> 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@intel.com
>
> 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]
> include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant
>
> Error/Warning ids grouped by kconfigs:
>
> gcc_recent_errors
> |-- microblaze-randconfig-c024-20220323
> |   `-- drivers-pinctrl-mediatek-pinctrl-mtk-common.c:Unneeded-semicolon
> `-- parisc-randconfig-r006-20220323
>     |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:error:array-type-has-incomplete-element-type-struct-group_desc
>     |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:warning:parameter-group-set-but-not-used
>     |-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:warning:parameter-selector-set-but-not-used
>     `-- include-linux-build_bug.h:error:bit-field-anonymous-width-not-an-integer-constant
>
> clang_recent_errors
> `-- hexagon-buildonly-randconfig-r005-20220323
>     `-- drivers-pinctrl-nuvoton-pinctrl-wpcm450.c:error:array-has-incomplete-element-type-struct-group_desc
>
> elapsed time: 729m
>
> configs tested: 131
> configs skipped: 4
>
> gcc tested configs:
> arm                                 defconfig
> arm64                            allyesconfig
> arm64                               defconfig
> arm                              allyesconfig
> arm                              allmodconfig
> i386                          randconfig-c001
> mips                 randconfig-c004-20220323
> arm                         axm55xx_defconfig
> xtensa                    xip_kc705_defconfig
> powerpc                    sam440ep_defconfig
> mips                           jazz_defconfig
> powerpc                      pasemi_defconfig
> arm                           h3600_defconfig
> sh                   sh7770_generic_defconfig
> sh                            hp6xx_defconfig
> arm                       omap2plus_defconfig
> alpha                               defconfig
> powerpc                     tqm8548_defconfig
> ia64                             alldefconfig
> sh                      rts7751r2d1_defconfig
> sh                             sh03_defconfig
> m68k                        mvme16x_defconfig
> arm                            xcep_defconfig
> s390                             allmodconfig
> sh                          rsk7264_defconfig
> arm                          simpad_defconfig
> arm                           h5000_defconfig
> nios2                         3c120_defconfig
> sh                             espt_defconfig
> powerpc                     pq2fads_defconfig
> arm                         assabet_defconfig
> um                               alldefconfig
> ia64                         bigsur_defconfig
> mips                         db1xxx_defconfig
> parisc                generic-32bit_defconfig
> sh                          rsk7203_defconfig
> alpha                            alldefconfig
> mips                      fuloong2e_defconfig
> powerpc                        warp_defconfig
> m68k                        mvme147_defconfig
> sh                         ecovec24_defconfig
> arm                             rpc_defconfig
> riscv                               defconfig
> sh                  sh7785lcr_32bit_defconfig
> arm                  randconfig-c002-20220323
> ia64                             allmodconfig
> ia64                                defconfig
> ia64                             allyesconfig
> m68k                             allmodconfig
> m68k                                defconfig
> m68k                             allyesconfig
> nds32                             allnoconfig
> nios2                               defconfig
> arc                              allyesconfig
> alpha                            allyesconfig
> csky                                defconfig
> nds32                               defconfig
> nios2                            allyesconfig
> xtensa                           allyesconfig
> h8300                            allyesconfig
> arc                                 defconfig
> sh                               allmodconfig
> parisc                              defconfig
> s390                             allyesconfig
> parisc64                            defconfig
> parisc                           allyesconfig
> s390                                defconfig
> i386                             allyesconfig
> i386                              debian-10.3
> i386                   debian-10.3-kselftests
> i386                                defconfig
> sparc                            allyesconfig
> sparc                               defconfig
> mips                             allyesconfig
> mips                             allmodconfig
> powerpc                          allyesconfig
> powerpc                          allmodconfig
> powerpc                           allnoconfig
> x86_64                        randconfig-a006
> x86_64                        randconfig-a004
> x86_64                        randconfig-a002
> i386                          randconfig-a003
> i386                          randconfig-a001
> i386                          randconfig-a005
> x86_64                        randconfig-a013
> x86_64                        randconfig-a011
> x86_64                        randconfig-a015
> i386                          randconfig-a012
> i386                          randconfig-a014
> i386                          randconfig-a016
> arc                  randconfig-r043-20220323
> riscv                randconfig-r042-20220323
> s390                 randconfig-r044-20220323
> riscv                    nommu_k210_defconfig
> riscv                            allyesconfig
> riscv                    nommu_virt_defconfig
> riscv                             allnoconfig
> riscv                            allmodconfig
> riscv                          rv32_defconfig
> x86_64                    rhel-8.3-kselftests
> um                           x86_64_defconfig
> um                             i386_defconfig
> x86_64                           allyesconfig
> x86_64                              defconfig
> x86_64                               rhel-8.3
> x86_64                          rhel-8.3-func
> x86_64                         rhel-8.3-kunit
> x86_64                                  kexec
>
> clang tested configs:
> x86_64                        randconfig-c007
> mips                 randconfig-c004-20220323
> arm                  randconfig-c002-20220323
> powerpc              randconfig-c003-20220323
> riscv                randconfig-c006-20220323
> i386                          randconfig-c001
> arm                    vt8500_v6_v7_defconfig
> arm                       imx_v4_v5_defconfig
> powerpc                     ksi8560_defconfig
> powerpc                    mvme5100_defconfig
> arm                              alldefconfig
> powerpc                     kilauea_defconfig
> i386                          randconfig-a002
> i386                          randconfig-a006
> i386                          randconfig-a004
> x86_64                        randconfig-a012
> x86_64                        randconfig-a014
> x86_64                        randconfig-a016
> i386                          randconfig-a011
> i386                          randconfig-a013
> i386                          randconfig-a015
> x86_64                        randconfig-a001
> x86_64                        randconfig-a003
> x86_64                        randconfig-a005
> hexagon              randconfig-r041-20220323
> hexagon              randconfig-r045-20220323
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033
  2022-03-23 15:05 ` Linus Walleij
@ 2022-03-23 16:46   ` Jonathan Neuschäfer
  2022-03-24  0:33     ` Linus Walleij
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Neuschäfer @ 2022-03-23 16:46 UTC (permalink / raw)
  To: Linus Walleij; +Cc: kernel test robot, Jonathan Neuschäfer, linux-gpio

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

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@intel.com> 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@intel.com
> >
> > 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033
  2022-03-23 16:46   ` Jonathan Neuschäfer
@ 2022-03-24  0:33     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2022-03-24  0:33 UTC (permalink / raw)
  To: Jonathan Neuschäfer; +Cc: kernel test robot, linux-gpio

On Wed, Mar 23, 2022 at 5:46 PM Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
> Me
> > 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.

OK I'll just augment it to fix that in the same patch.

> > > 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.

Excellent, applied the fix!

Let's see about the last one.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-24  0:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 14:51 [linusw-pinctrl:for-next] BUILD REGRESSION 0c3c8458428ab471178a0d155222eaa62083d033 kernel test robot
2022-03-23 15:05 ` Linus Walleij
2022-03-23 16:46   ` Jonathan Neuschäfer
2022-03-24  0:33     ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.