[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a0Quh+PqfBWe-LqzoSgs=ROzu6-8Nq=qceeHRwj8k7uYQ@mail.gmail.com>
Date: Wed, 2 Mar 2022 08:45:43 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Olof Johansson <olof@...om.net>, Arnd Bergmann <arnd@...db.de>,
ARM <linux-arm-kernel@...ts.infradead.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Rex-BC Chen <rex-bc.chen@...iatek.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the arm-soc tree
On Tue, Mar 1, 2022 at 11:50 PM Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Hi all,
>
> After merging the arm-soc tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/soc/mediatek/mtk-mmsys.c:64:10: error: 'const struct mtk_mmsys_driver_data' has no member named 'sw0_rst_offset'
> 64 | .sw0_rst_offset = MT8186_MMSYS_SW0_RST_B,
> | ^~~~~~~~~~~~~~
> In file included from drivers/soc/mediatek/mtk-mmsys.c:18:
> drivers/soc/mediatek/mt8186-mmsys.h:55:57: warning: excess elements in struct initializer
> 55 | #define MT8186_MMSYS_SW0_RST_B 0x160
> | ^~~~~
> drivers/soc/mediatek/mtk-mmsys.c:64:27: note: in expansion of macro 'MT8186_MMSYS_SW0_RST_B'
> 64 | .sw0_rst_offset = MT8186_MMSYS_SW0_RST_B,
> | ^~~~~~~~~~~~~~~~~~~~~~
> drivers/soc/mediatek/mt8186-mmsys.h:55:57: note: (near initialization for 'mt8186_mmsys_driver_data')
> 55 | #define MT8186_MMSYS_SW0_RST_B 0x160
> | ^~~~~
> drivers/soc/mediatek/mtk-mmsys.c:64:27: note: in expansion of macro 'MT8186_MMSYS_SW0_RST_B'
> 64 | .sw0_rst_offset = MT8186_MMSYS_SW0_RST_B,
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 831785f0e5b9 ("soc: mediatek: mmsys: add mmsys reset control for MT8186")
>
> I have used the arm-soc tree from next-20220301 for today.
I'm going on vacation right now, did a quick revert of that commit to fix the
build. Rex-BC Chen, Matthias: please send a proper fix that I can apply next
week when I get back, to replace my revert.
Arnd
Powered by blists - more mailing lists