Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xianwei Zhao via B4 Relay
	<devnull+xianwei.zhao.amlogic.com@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-amlogic@lists.infradead.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Xianwei Zhao <xianwei.zhao@amlogic.com>
Subject: Re: [PATCH 5/8] pinctrl: meson: support amlogic S6/S7/S7D SoC
Date: Thu, 15 May 2025 04:18:24 +0800	[thread overview]
Message-ID: <202505150408.vMuuQH5G-lkp@intel.com> (raw)
In-Reply-To: <20250514-s6-s7-pinctrl-v1-5-39d368cad250@amlogic.com>

Hi Xianwei,

kernel test robot noticed the following build errors:

[auto build test ERROR on aa94665adc28f3fdc3de2979ac1e98bae961d6ca]

url:    https://github.com/intel-lab-lkp/linux/commits/Xianwei-Zhao-via-B4-Relay/dt-bindings-pinctl-amlogic-pinctrl-a4-Add-compatible-string-for-S7/20250514-150438
base:   aa94665adc28f3fdc3de2979ac1e98bae961d6ca
patch link:    https://lore.kernel.org/r/20250514-s6-s7-pinctrl-v1-5-39d368cad250%40amlogic.com
patch subject: [PATCH 5/8] pinctrl: meson: support amlogic S6/S7/S7D SoC
config: arm64-randconfig-004-20250514 (https://download.01.org/0day-ci/archive/20250515/202505150408.vMuuQH5G-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250515/202505150408.vMuuQH5G-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505150408.vMuuQH5G-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/pinctrl/meson/pinctrl-amlogic-a4.c:128:13: error: designator into flexible array member subobject
     128 |         .multi_data[0] = {
         |                    ^~~~~~~
     129 |                 .m_bank_id = AMLOGIC_GPIO_CC,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     130 |                 .m_bit_offs = 24,
         |                 ~~~~~~~~~~~~~~~~~
     131 |                 .sid = (AMLOGIC_GPIO_X << 8) + 16,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     132 |                 .eid = (AMLOGIC_GPIO_X << 8) + 19,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     133 |         },
         |         ~
   drivers/pinctrl/meson/pinctrl-amlogic-a4.c:69:19: note: initialized flexible array member 'multi_data' is here
      69 |         struct multi_mux multi_data[];
         |                          ^
   drivers/pinctrl/meson/pinctrl-amlogic-a4.c:138:13: error: designator into flexible array member subobject
     138 |         .multi_data[0] = {
         |                    ^~~~~~~
     139 |                 .m_bank_id = AMLOGIC_GPIO_CC,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     140 |                 .m_bit_offs = 24,
         |                 ~~~~~~~~~~~~~~~~~
     141 |                 .sid = (AMLOGIC_GPIO_X << 8) + 16,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     142 |                 .eid = (AMLOGIC_GPIO_X << 8) + 19,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     143 |         },
         |         ~
   drivers/pinctrl/meson/pinctrl-amlogic-a4.c:69:19: note: initialized flexible array member 'multi_data' is here
      69 |         struct multi_mux multi_data[];
         |                          ^
   drivers/pinctrl/meson/pinctrl-amlogic-a4.c:144:13: error: designator into flexible array member subobject
     144 |         .multi_data[1] = {
         |                    ^~~~~~~
     145 |                 .m_bank_id = AMLOGIC_GPIO_F,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     146 |                 .m_bit_offs = 4,
         |                 ~~~~~~~~~~~~~~~~
     147 |                 .sid = (AMLOGIC_GPIO_D << 8) + 6,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     148 |                 .eid = (AMLOGIC_GPIO_D << 8) + 6,
         |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     149 |         },
         |         ~
   drivers/pinctrl/meson/pinctrl-amlogic-a4.c:69:19: note: initialized flexible array member 'multi_data' is here
      69 |         struct multi_mux multi_data[];
         |                          ^
   3 errors generated.


vim +128 drivers/pinctrl/meson/pinctrl-amlogic-a4.c

   125	
   126	const struct aml_pctl_data s7_priv_data = {
   127		.number = 1,
 > 128		.multi_data[0] = {
   129			.m_bank_id = AMLOGIC_GPIO_CC,
   130			.m_bit_offs = 24,
   131			.sid = (AMLOGIC_GPIO_X << 8) + 16,
   132			.eid = (AMLOGIC_GPIO_X << 8) + 19,
   133		},
   134	};
   135	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2025-05-14 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14  7:01 [PATCH 0/8] Add support for Amlogic S7/S7D/S6 pinctrl Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 1/8] dt-bindings: pinctl: amlogic,pinctrl-a4: Add compatible string for S7 Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 2/8] dt-bindings: pinctl: amlogic,pinctrl-a4: Add compatible string for S7D Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 3/8] dt-bindings: pinctl: amlogic,pinctrl-a4: Add compatible string for S6 Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 4/8] pinctrl: meson: a4: remove special data processing Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 5/8] pinctrl: meson: support amlogic S6/S7/S7D SoC Xianwei Zhao via B4 Relay
2025-05-14 20:18   ` kernel test robot [this message]
2025-05-14  7:01 ` [PATCH 6/8] dts: arm64: amlogic: add S7 pinctrl node Xianwei Zhao via B4 Relay
2025-05-14 13:10   ` Rob Herring
2025-05-15  3:04     ` Xianwei Zhao
2025-05-14  7:01 ` [PATCH 7/8] dts: arm64: amlogic: add S7D " Xianwei Zhao via B4 Relay
2025-05-14  7:01 ` [PATCH 8/8] dts: arm64: amlogic: add S6 " Xianwei Zhao via B4 Relay
2025-05-14 13:11 ` [PATCH 0/8] Add support for Amlogic S7/S7D/S6 pinctrl Rob Herring (Arm)

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=202505150408.vMuuQH5G-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=devnull+xianwei.zhao.amlogic.com@kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=krzk@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=neil.armstrong@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=xianwei.zhao@amlogic.com \
    /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