From: Randy Dunlap <rdunlap@infradead•org>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
Linux Next Mailing List <linux-next@vger•kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Philipp Zabel <p.zabel@pengutronix•de>,
Peter Rosin <peda@axentia•se>
Subject: Re: linux-next: Tree for Nov 24 (drivers/mux/mmio.c)
Date: Fri, 24 Nov 2023 08:29:39 -0800 [thread overview]
Message-ID: <a072ac93-e7ba-4b1b-ab66-8a3a889d4b52@infradead.org> (raw)
In-Reply-To: <20231124133536.779ed85a@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 2848 bytes --]
On 11/23/23 18:35, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20231123:
>
> Non-merge commits (relative to Linus' tree): 2415
> 3096 files changed, 138691 insertions(+), 92122 deletions(-)
>
> ----------------------------------------------------------------------------
on S390, when CONFIG_REGMAP and none of its subordinate
configs is set:
../drivers/mux/mmio.c: In function 'mux_mmio_probe':
../drivers/mux/mmio.c:76:34: error: storage size of 'field' isn't known
76 | struct reg_field field;
| ^~~~~
In file included from ../include/linux/bits.h:21,
from ../include/linux/bitops.h:6,
from ../drivers/mux/mmio.c:8:
../include/linux/bits.h:23:28: error: first argument to '__builtin_choose_expr' not a constant
23 | (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
| ^~~~~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:16:62: note: in definition of macro 'BUILD_BUG_ON_ZERO'
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
../include/linux/bits.h:37:10: note: in expansion of macro 'GENMASK_INPUT_CHECK'
37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
../drivers/mux/mmio.c:96:29: note: in expansion of macro 'GENMASK'
96 | if (mask != GENMASK(field.msb, field.lsb)) {
| ^~~~~~~
../include/linux/build_bug.h:16:51: error: bit-field '<anonymous>' width not an integer constant
16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { int:(-!!(e)); })))
| ^
../include/linux/bits.h:23:10: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
23 | (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
| ^~~~~~~~~~~~~~~~~
../include/linux/bits.h:37:10: note: in expansion of macro 'GENMASK_INPUT_CHECK'
37 | (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
| ^~~~~~~~~~~~~~~~~~~
../drivers/mux/mmio.c:96:29: note: in expansion of macro 'GENMASK'
96 | if (mask != GENMASK(field.msb, field.lsb)) {
| ^~~~~~~
../drivers/mux/mmio.c:102:29: error: implicit declaration of function 'devm_regmap_field_alloc' [-Werror=implicit-function-declaration]
102 | fields[i] = devm_regmap_field_alloc(dev, regmap, field);
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/mux/mmio.c:76:34: warning: unused variable 'field' [-Wunused-variable]
76 | struct reg_field field;
| ^~~~~
cc1: some warnings being treated as errors
Full randconfig file is attached.
--
~Randy
[-- Attachment #2: config-s390-mux-mmio.gz --]
[-- Type: application/gzip, Size: 14458 bytes --]
prev parent reply other threads:[~2023-11-24 16:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 2:35 linux-next: Tree for Nov 24 Stephen Rothwell
2023-11-24 16:29 ` 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=a072ac93-e7ba-4b1b-ab66-8a3a889d4b52@infradead.org \
--to=rdunlap@infradead$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=p.zabel@pengutronix$(echo .)de \
--cc=peda@axentia$(echo .)se \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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