Re: mmotm 2022-03-16-17-42 uploaded (drivers/pinctrl/nuvoton/pinctrl-wpcm450.c)

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

 




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

Attachment: config-r2570.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux