From: Mark Brown <broonie@kernel•org>
To: Ulf Hansson <ulf.hansson@linaro•org>, Allen Pais <allen.lkml@gmail•com>
Cc: "Christian Loehle" <christian.loehle@arm•com>,
"Aubin Constans" <aubin.constans@microchip•com>,
"Michał Mirosław" <mirq-linux@rere•qmqm.pl>,
"Linux Kernel Mailing List" <linux-kernel@vger•kernel.org>,
"Linux Next Mailing List" <linux-next@vger•kernel.org>
Subject: linux-next: build failure after merge of the mmc tree
Date: Fri, 21 Jun 2024 16:11:03 +0100 [thread overview]
Message-ID: <ZnWYB5vobLZNtKHs@sirena.org.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 5634 bytes --]
Hi all,
After merging the mmc tree, today's linux-next build (arm64 defconfig)
failed like this:
In file included from /tmp/next/build/include/linux/bits.h:22,
from /tmp/next/build/include/linux/bitops.h:6,
from /tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c:10:
/tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c: In function 'renesas_sdhi_internal_dmac_complete_work_fn':
/tmp/next/build/include/linux/container_of.h:20:54: error: 'struct tmio_mmc_host' has no member named 'dma_complete'
20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~
/tmp/next/build/include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
/tmp/next/build/include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert'
20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
/tmp/next/build/include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
/tmp/next/build/include/linux/workqueue.h:535:9: note: in expansion of macro 'container_of'
535 | container_of(callback_work, typeof(*var), work_fieldname)
| ^~~~~~~~~~~~
/tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c:489:38: note: in expansion of macro 'from_work'
489 | struct tmio_mmc_host *host = from_work(host, t, dma_complete);
| ^~~~~~~~~
/tmp/next/build/include/linux/compiler_types.h:451:27: error: expression in static assertion is not an integer
451 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert'
78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
| ^~~~
/tmp/next/build/include/linux/container_of.h:20:9: note: in expansion of macro 'static_assert'
20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~~~
/tmp/next/build/include/linux/container_of.h:20:23: note: in expansion of macro '__same_type'
20 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \
| ^~~~~~~~~~~
/tmp/next/build/include/linux/workqueue.h:535:9: note: in expansion of macro 'container_of'
535 | container_of(callback_work, typeof(*var), work_fieldname)
| ^~~~~~~~~~~~
/tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c:489:38: note: in expansion of macro 'from_work'
489 | struct tmio_mmc_host *host = from_work(host, t, dma_complete);
| ^~~~~~~~~
In file included from /tmp/next/build/include/uapi/linux/posix_types.h:5,
from /tmp/next/build/include/uapi/linux/types.h:14,
from /tmp/next/build/include/linux/types.h:6,
from /tmp/next/build/include/linux/kasan-checks.h:5,
from /tmp/next/build/include/asm-generic/rwonce.h:26,
from /tmp/next/build/arch/arm64/include/asm/rwonce.h:71,
from /tmp/next/build/include/linux/compiler.h:299,
from /tmp/next/build/include/linux/build_bug.h:5,
from /tmp/next/build/include/linux/bits.h:22,
from /tmp/next/build/include/linux/bitops.h:6,
from /tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c:10:
/tmp/next/build/include/linux/stddef.h:16:33: error: 'struct tmio_mmc_host' has no member named 'dma_complete'
16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~
/tmp/next/build/include/linux/container_of.h:23:28: note: in expansion of macro 'offsetof'
23 | ((type *)(__mptr - offsetof(type, member))); })
| ^~~~~~~~
/tmp/next/build/include/linux/workqueue.h:535:9: note: in expansion of macro 'container_of'
535 | container_of(callback_work, typeof(*var), work_fieldname)
| ^~~~~~~~~~~~
/tmp/next/build/drivers/mmc/host/renesas_sdhi_internal_dmac.c:489:38: note: in expansion of macro 'from_work'
489 | struct tmio_mmc_host *host = from_work(host, t, dma_complete);
| ^~~~~~~~~
make[6]: *** [/tmp/next/build/scripts/Makefile.build:244: drivers/mmc/host/renesas_sdhi_internal_dmac.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/tmp/next/build/scripts/Makefile.build:485: drivers/mmc/host] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/tmp/next/build/scripts/Makefile.build:485: drivers/mmc] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/tmp/next/build/scripts/Makefile.build:485: drivers] Error 2
make[2]: *** [/tmp/next/build/Makefile:1934: .] Error 2
make[1]: *** [/tmp/next/build/Makefile:240: __sub-make] Error 2
make: *** [Makefile:240: __sub-make] Error 2
Command exited with non-zero status 2
Caused by commit
74a3fe7c3784c8cae ("mmc: Convert from tasklet to BH workqueue")
I have used the tree from yesterday instead.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2024-06-21 15:11 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 15:11 Mark Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-05 13:33 linux-next: build failure after merge of the mmc tree Mark Brown
2026-02-05 20:11 ` Josua Mayer
2026-02-05 20:28 ` Josua Mayer
2026-02-05 20:52 ` Mark Brown
2025-05-21 5:42 Stephen Rothwell
2025-05-21 6:05 ` Binbin Zhou
2024-10-08 3:31 Stephen Rothwell
2024-10-08 15:26 ` Ulf Hansson
2024-10-10 6:34 ` Avri Altman
2023-06-09 1:34 Stephen Rothwell
2023-06-09 6:10 ` Wenbin Mei (梅文彬)
2023-05-10 1:18 Stephen Rothwell
2023-05-10 2:26 ` Jakub Kicinski
2023-05-11 10:54 ` Ulf Hansson
2021-04-16 3:48 Stephen Rothwell
2021-04-16 3:49 ` Stephen Rothwell
2021-04-26 1:31 ` Stephen Rothwell
2021-04-26 9:46 ` Ulf Hansson
2020-10-06 5:29 Stephen Rothwell
2020-09-25 4:40 Stephen Rothwell
2020-06-02 3:44 Stephen Rothwell
2020-06-02 12:05 ` Ulf Hansson
2020-06-02 12:15 ` Kalle Valo
2020-05-18 4:27 Stephen Rothwell
2020-05-18 6:10 ` Martin Blumenstingl
2018-02-15 0:49 Stephen Rothwell
2018-02-15 5:29 ` Kishon Vijay Abraham I
2014-05-30 3:23 Stephen Rothwell
2014-06-02 9:31 ` Ulf Hansson
[not found] ` <20140602214039.10062.15077@quantum>
2014-06-02 21:43 ` Chris Ball
2014-05-26 4:07 Stephen Rothwell
2014-06-02 5:11 ` Stephen Rothwell
2014-06-03 22:52 ` Stephen Rothwell
2014-06-04 19:21 ` Chris Ball
2014-06-05 2:57 ` Chris Ball
2014-05-23 5:32 Stephen Rothwell
2014-05-23 8:45 ` Sebastian Hesselbarth
2014-04-22 3:06 Stephen Rothwell
2014-04-22 4:57 ` Seungwon Jeon
2014-04-22 8:40 ` Ulf Hansson
2014-04-22 11:10 ` Chris Ball
2013-12-13 1:57 Stephen Rothwell
2013-12-17 2:28 ` Stephen Rothwell
2013-12-17 3:07 ` Dong Aisheng
2013-12-17 3:16 ` Shawn Guo
2013-12-17 8:06 ` Dong Aisheng
2014-01-06 6:22 ` Stephen Rothwell
2014-01-06 6:30 ` Dong Aisheng
2014-01-06 6:46 ` Shawn Guo
2014-01-06 6:46 ` Dong Aisheng
2014-01-06 6:30 ` Shawn Guo
2014-01-06 6:44 ` Shawn Guo
2014-01-06 7:29 ` Stephen Rothwell
2014-01-07 3:27 ` Stephen Rothwell
2014-01-13 17:49 ` Chris Ball
2013-12-23 1:40 ` Stephen Rothwell
2011-11-09 1:06 Stephen Rothwell
2011-11-09 1:35 ` Chris Ball
2011-09-22 6:13 Stephen Rothwell
2011-09-22 11:56 ` Chris Ball
2011-07-16 9:30 Stephen Rothwell
2011-07-18 22:29 ` Per Forlin
2011-03-28 2:10 Stephen Rothwell
2010-10-25 1:12 Stephen Rothwell
2010-10-25 2:21 ` Chris Ball
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=ZnWYB5vobLZNtKHs@sirena.org.uk \
--to=broonie@kernel$(echo .)org \
--cc=allen.lkml@gmail$(echo .)com \
--cc=aubin.constans@microchip$(echo .)com \
--cc=christian.loehle@arm$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mirq-linux@rere$(echo .)qmqm.pl \
--cc=ulf.hansson@linaro$(echo .)org \
/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