linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Andrew Morton <akpm@linux-foundation.org>,
	broonie@kernel.org, mhocko@suse.cz, sfr@canb.auug.org.au,
	linux-next@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	mm-commits@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio@vger.kernel.org
Subject: Re: mmotm 2022-03-16-17-42 uploaded (drivers/pinctrl/nuvoton/pinctrl-wpcm450.c)
Date: Wed, 16 Mar 2022 21:37:48 -0700	[thread overview]
Message-ID: <04cbbe93-a463-4849-37c6-63520c8acc83@infradead.org> (raw)
In-Reply-To: <20220317004304.95F89C340E9@smtp.kernel.org>

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



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 #2: config-r2570.gz --]
[-- Type: application/gzip, Size: 42267 bytes --]

      parent reply	other threads:[~2022-03-17  4:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-17  0:43 mmotm 2022-03-16-17-42 uploaded Andrew Morton
2022-03-17  4:21 ` mmotm 2022-03-16-17-42 uploaded (uml sub-x86_64, sched/fair, RCU) Randy Dunlap
2022-03-17  4:27   ` Randy Dunlap
2022-03-17  4:30   ` Andrew Morton
2022-03-17  4:52     ` Randy Dunlap
2022-03-17 13:43       ` Paul E. McKenney
2022-03-17 23:51       ` Andrew Morton
2022-03-18  0:10         ` Randy Dunlap
2022-03-18  3:56           ` Randy Dunlap
2022-03-18  4:32           ` Sachin Sant
2022-03-17  4:24 ` mmotm 2022-03-16-17-42 uploaded (drivers/iio/afe/iio-rescale.o) Randy Dunlap
2022-03-17  4:37 ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04cbbe93-a463-4849-37c6-63520c8acc83@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mhocko@suse.cz \
    --cc=mm-commits@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox