From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Mark Brown <broonie@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Vinod Koul <vkoul@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the phy-next tree
Date: Tue, 15 Sep 2026 09:40:59 +0200 [thread overview]
Message-ID: <351ce005-b7d9-4333-adce-896248c2d7dc@collabora.com> (raw)
In-Reply-To: <aqgKDgDpqlnQPgDz@sirena.co.uk>
On 9/14/26 16:51, Mark Brown wrote:
> Hi all,
>
> After merging the phy-next tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
There's a fix already:
https://lore.kernel.org/all/20260913172930.1150324-1-sashal@kernel.org/
Sorry about that
Cheers,
Angelo
>
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:761:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]') [-Wint-conversion]
> 761 | .off_ana_lane = (const u16[]) { 0x100, 0x200, 0x300, 0x400 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:761:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 761 | .off_ana_lane = (const u16[]) { 0x100, 0x200, 0x300, 0x400 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | { }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:763:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]') [-Wint-conversion]
> 763 | .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:763:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 763 | .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | { }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:776:20: error: incompatible pointer to integer conversion initializing 'u32' (aka 'unsigned int') with an expression of type 'const u32[9]' (aka 'const unsigned int[9]') [-Wint-conversion]
> 776 | .driving_params = (const u32[]) {
> | ^~~~~~~~~~~~~~~
> 777 | [0] = 0,
> | ~~~~~~~~
> 778 | [1] = 0,
> | ~~~~~~~~
> 779 | [2] = 0,
> | ~~~~~~~~
> 780 | [3] = MT8195_DRIVING_PARAM_3_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 781 | [4] = MT8195_DRIVING_PARAM_4_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 782 | [5] = MT8195_DRIVING_PARAM_5_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 783 | [6] = MT8195_DRIVING_PARAM_6_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 784 | [7] = MT8195_DRIVING_PARAM_7_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 785 | [8] = MT8195_DRIVING_PARAM_8_DEFAULT
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 786 | },
> | ~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:776:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 776 | .driving_params = (const u32[]) {
> | ^~~~~~~~~~~~~~~
> | {
> 777 | [0] = 0,
> | ~~~~~~~~
> 778 | [1] = 0,
> | ~~~~~~~~
> 779 | [2] = 0,
> | ~~~~~~~~
> 780 | [3] = MT8195_DRIVING_PARAM_3_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 781 | [4] = MT8195_DRIVING_PARAM_4_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 782 | [5] = MT8195_DRIVING_PARAM_5_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 783 | [6] = MT8195_DRIVING_PARAM_6_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 784 | [7] = MT8195_DRIVING_PARAM_7_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 785 | [8] = MT8195_DRIVING_PARAM_8_DEFAULT
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 786 | },
> | ~
> | }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:761:18: error: initializer element is not a compile-time constant
> 761 | .off_ana_lane = (const u16[]) { 0x100, 0x200, 0x300, 0x400 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:791:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]') [-Wint-conversion]
> 791 | .off_ana_lane = (const u16[]) { 0x0, 0x100, 0x200, 0x300 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:791:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 791 | .off_ana_lane = (const u16[]) { 0x0, 0x100, 0x200, 0x300 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | { }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:793:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]') [-Wint-conversion]
> 793 | .off_dig_lane = (const u16[]) { 0x1000, 0x1100, 0x1200, 0x1300 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:793:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 793 | .off_dig_lane = (const u16[]) { 0x1000, 0x1100, 0x1200, 0x1300 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | { }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:806:20: error: incompatible pointer to integer conversion initializing 'u32' (aka 'unsigned int') with an expression of type 'const u32[9]' (aka 'const unsigned int[9]') [-Wint-conversion]
> 806 | .driving_params = (const u32[]) {
> | ^~~~~~~~~~~~~~~
> 807 | [0] = 0,
> | ~~~~~~~~
> 808 | [1] = 0,
> | ~~~~~~~~
> 809 | [2] = 0,
> | ~~~~~~~~
> 810 | [3] = MT8196_DRIVING_PARAM_3_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 811 | [4] = MT8196_DRIVING_PARAM_4_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 812 | [5] = MT8196_DRIVING_PARAM_5_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 813 | [6] = MT8196_DRIVING_PARAM_6_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 814 | [7] = MT8196_DRIVING_PARAM_7_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 815 | [8] = MT8196_DRIVING_PARAM_8_DEFAULT
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 816 | },
> | ~
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:806:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
> 806 | .driving_params = (const u32[]) {
> | ^~~~~~~~~~~~~~~
> | {
> 807 | [0] = 0,
> | ~~~~~~~~
> 808 | [1] = 0,
> | ~~~~~~~~
> 809 | [2] = 0,
> | ~~~~~~~~
> 810 | [3] = MT8196_DRIVING_PARAM_3_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 811 | [4] = MT8196_DRIVING_PARAM_4_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 812 | [5] = MT8196_DRIVING_PARAM_5_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 813 | [6] = MT8196_DRIVING_PARAM_6_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 814 | [7] = MT8196_DRIVING_PARAM_7_DEFAULT,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 815 | [8] = MT8196_DRIVING_PARAM_8_DEFAULT
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 816 | },
> | ~
> | }
> /tmp/next/build/drivers/phy/mediatek/phy-mtk-dp.c:791:18: error: initializer element is not a compile-time constant
> 791 | .off_ana_lane = (const u16[]) { 0x0, 0x100, 0x200, 0x300 },
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 6fe4d5beac728 (phy: phy-mtk-dp: Add support for MT8196 eDP PHY)
>
> I have used the tree from next-20260911 instead.
next prev parent reply other threads:[~2026-09-15 7:41 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-14 14:51 Mark Brown
2026-09-15 7:40 ` AngeloGioacchino Del Regno [this message]
2026-09-15 8:01 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2023-08-18 5:40 Stephen Rothwell
2023-08-22 14:00 ` Vinod Koul
2023-02-13 2:55 Stephen Rothwell
2023-02-13 5:17 ` Vinod Koul
2022-07-07 5:39 Stephen Rothwell
2022-07-07 5:53 ` Vinod Koul
2021-12-24 3:03 Stephen Rothwell
2021-12-24 4:37 ` Vinod Koul
2021-12-15 13:49 broonie
2021-12-15 14:14 ` Marcel Ziswiler
2021-12-15 15:20 ` Vinod Koul
2020-12-01 6:07 Stephen Rothwell
2020-12-01 6:45 ` Sergio Paracuellos
2020-12-01 10:39 ` Vinod Koul
2020-11-17 2:40 Stephen Rothwell
2020-11-17 10:00 ` Vinod Koul
2020-11-18 2:56 ` Stephen Rothwell
2020-11-18 4:23 ` Vinod Koul
2019-08-27 5:50 Stephen Rothwell
2017-03-30 3:47 Stephen Rothwell
2017-03-30 5:39 ` Kishon Vijay Abraham I
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=351ce005-b7d9-4333-adce-896248c2d7dc@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=broonie@kernel.org \
--cc=kishon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=vkoul@kernel.org \
/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
all inboxes | Powered by JetHome®