lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <04cbbe93-a463-4849-37c6-63520c8acc83@infradead.org>
Date:   Wed, 16 Mar 2022 21:37:48 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Andrew Morton <akpm@...ux-foundation.org>, broonie@...nel.org,
        mhocko@...e.cz, sfr@...b.auug.org.au, linux-next@...r.kernel.org,
        linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, mm-commits@...r.kernel.org,
        Linus Walleij <linus.walleij@...aro.org>,
        linux-gpio@...r.kernel.org
Subject: Re: mmotm 2022-03-16-17-42 uploaded
 (drivers/pinctrl/nuvoton/pinctrl-wpcm450.c)



On 3/16/22 17:43, Andrew Morton wrote:
> The mm-of-the-moment snapshot 2022-03-16-17-42 has been uploaded to
> 
>    https://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> https://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.
> 
> You will need quilt to apply these patches to the latest Linus release (5.x
> or 5.x-rcY).  The series file is in broken-out.tar.gz and is duplicated in
> https://ozlabs.org/~akpm/mmotm/series

on i386:

I see about 100 of these:

../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:26: error: array type has incomplete element type ‘struct group_desc’
 static struct group_desc wpcm450_groups[] = {
                          ^~~~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: error: field name not in record or union initializer
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: note: (near initialization for ‘wpcm450_groups’)
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:38: error: field name not in record or union initializer
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                                      ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:38: note: (near initialization for ‘wpcm450_groups’)
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                                      ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:472:4: error: field name not in record or union initializer
    .num_pins = ARRAY_SIZE(x ## _pins) }
    ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:472:4: note: (near initialization for ‘wpcm450_groups’)
    .num_pins = ARRAY_SIZE(x ## _pins) }
    ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:401:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb3), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:471:26: error: field name not in record or union initializer
 #define WPCM450_GRP(x) { .name = #x, .pins = x ## _pins, \
                          ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:402:2: note: in expansion of macro ‘WPCM450_GRP’
  WPCM450_GRP(smb4), \
  ^~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:473:2: note: in expansion of macro ‘WPCM450_GRPS’
  WPCM450_GRPS
  ^~~~~~~~~~~~


and then these:

In file included from ../include/linux/bits.h:22:0,
                 from ../include/linux/ratelimit_types.h:5,
                 from ../include/linux/ratelimit.h:5,
                 from ../include/linux/dev_printk.h:16,
                 from ../include/linux/device.h:15,
                 from ../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:12:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_groups_count’:
../include/linux/build_bug.h:16:51: error: bit-field ‘<anonymous>’ width not an integer constant
 #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
                                                   ^
../include/linux/compiler.h:240:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
                            ^~~~~~~~~~~~~~~~~
../include/linux/kernel.h:55:59: note: in expansion of macro ‘__must_be_array’
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
                                                           ^~~~~~~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:820:9: note: in expansion of macro ‘ARRAY_SIZE’
  return ARRAY_SIZE(wpcm450_groups);
         ^~~~~~~~~~
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_group_name’:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:827:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c: In function ‘wpcm450_get_groups_count’:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:821:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
At top level:
../drivers/pinctrl/nuvoton/pinctrl-wpcm450.c:470:26: warning: ‘wpcm450_groups’ defined but not used [-Wunused-variable]
 static struct group_desc wpcm450_groups[] = {
                          ^~~~~~~~~~~~~~




Full randconfig file is attached.

-- 
~Randy
Download attachment "config-r2570.gz" of type "application/gzip" (42267 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ