From: kernel test robot <lkp@intel.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
shawnguo@kernel.org, s.hauer@pengutronix.de,
l.stach@pengutronix.de
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com,
laurent.pinchart@ideasonboard.com, marex@denx.de,
paul.elder@ideasonboard.com, aford173@gmail.com,
Markus.Niebel@ew.tq-group.com, alexander.stein@ew.tq-group.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, aisheng.dong@nxp.com,
Peng Fan <peng.fan@nxp.com>
Subject: Re: [PATCH V4 6/8] soc: imx: imx8m-blk-ctrl: add i.MX8MP VPU blk ctrl
Date: Sat, 23 Jul 2022 02:06:32 +0800 [thread overview]
Message-ID: <202207230135.ZQrimSwM-lkp@intel.com> (raw)
In-Reply-To: <20220722125730.3428017-7-peng.fan@oss.nxp.com>
Hi "Peng,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on shawnguo/for-next]
[also build test ERROR on linus/master v5.19-rc7 next-20220722]
[cannot apply to robh/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/imx-add-i-MX8MP-hdmi-blk-ctrl-hdcp-hrv-and-vpu-blk-ctrl/20220722-205748
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
config: arm-buildonly-randconfig-r004-20220722 (https://download.01.org/0day-ci/archive/20220723/202207230135.ZQrimSwM-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 72686d68c137551cce816416190a18d45b4d4e2a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/intel-lab-lkp/linux/commit/69aa4b64765e9c0ed7990d68a5cf3f125fd16f91
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Peng-Fan-OSS/imx-add-i-MX8MP-hdmi-blk-ctrl-hdcp-hrv-and-vpu-blk-ctrl/20220722-205748
git checkout 69aa4b64765e9c0ed7990d68a5cf3f125fd16f91
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/soc/imx/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/soc/imx/imx8m-blk-ctrl.c:466:4: error: field designator 'path_names' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.path_names = (const char *[]){"g1"},
^
>> drivers/soc/imx/imx8m-blk-ctrl.c:467:4: error: field designator 'num_paths' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.num_paths = 1,
^
drivers/soc/imx/imx8m-blk-ctrl.c:476:4: error: field designator 'path_names' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.path_names = (const char *[]){"g2"},
^
drivers/soc/imx/imx8m-blk-ctrl.c:477:4: error: field designator 'num_paths' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.num_paths = 1,
^
drivers/soc/imx/imx8m-blk-ctrl.c:486:4: error: field designator 'path_names' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.path_names = (const char *[]){"vc8000e"},
^
drivers/soc/imx/imx8m-blk-ctrl.c:487:4: error: field designator 'num_paths' does not refer to any field in type 'const struct imx8m_blk_ctrl_domain_data'
.num_paths = 1,
^
>> drivers/soc/imx/imx8m-blk-ctrl.c:495:17: error: invalid application of 'sizeof' to an incomplete type 'const struct imx8m_blk_ctrl_domain_data[]'
.num_domains = ARRAY_SIZE(imx8mp_vpu_blk_ctl_domain_data),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:55:32: note: expanded from macro 'ARRAY_SIZE'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~
7 errors generated.
vim +466 drivers/soc/imx/imx8m-blk-ctrl.c
457
458 static const struct imx8m_blk_ctrl_domain_data imx8mp_vpu_blk_ctl_domain_data[] = {
459 [IMX8MP_VPUBLK_PD_G1] = {
460 .name = "vpublk-g1",
461 .clk_names = (const char *[]){ "g1", },
462 .num_clks = 1,
463 .gpc_name = "g1",
464 .rst_mask = BIT(1),
465 .clk_mask = BIT(1),
> 466 .path_names = (const char *[]){"g1"},
> 467 .num_paths = 1,
468 },
469 [IMX8MP_VPUBLK_PD_G2] = {
470 .name = "vpublk-g2",
471 .clk_names = (const char *[]){ "g2", },
472 .num_clks = 1,
473 .gpc_name = "g2",
474 .rst_mask = BIT(0),
475 .clk_mask = BIT(0),
476 .path_names = (const char *[]){"g2"},
477 .num_paths = 1,
478 },
479 [IMX8MP_VPUBLK_PD_VC8000E] = {
480 .name = "vpublk-vc8000e",
481 .clk_names = (const char *[]){ "vc8000e", },
482 .num_clks = 1,
483 .gpc_name = "vc8000e",
484 .rst_mask = BIT(2),
485 .clk_mask = BIT(2),
486 .path_names = (const char *[]){"vc8000e"},
487 .num_paths = 1,
488 },
489 };
490
491 static const struct imx8m_blk_ctrl_data imx8mp_vpu_blk_ctl_dev_data = {
492 .max_reg = 0x18,
493 .power_notifier_fn = imx8mm_vpu_power_notifier,
494 .domains = imx8mp_vpu_blk_ctl_domain_data,
> 495 .num_domains = ARRAY_SIZE(imx8mp_vpu_blk_ctl_domain_data),
496 };
497
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-07-22 18:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-22 12:57 [PATCH V4 0/8] imx: add i.MX8MP hdmi blk ctrl hdcp/hrv and vpu blk ctrl Peng Fan (OSS)
2022-07-22 12:57 ` [PATCH V4 1/8] dt-bindings: power: imx8mp-power: add HDMI HDCP/HRV Peng Fan (OSS)
2022-07-22 12:57 ` [PATCH V4 2/8] dt-bindings: soc: imx: drop minItems for i.MX8MM vpu blk ctrl Peng Fan (OSS)
2022-07-22 12:57 ` [PATCH V4 3/8] dt-bindings: soc: imx: add interconnect property " Peng Fan (OSS)
2022-07-23 20:47 ` Krzysztof Kozlowski
2022-07-22 12:57 ` [PATCH V4 4/8] dt-bindings: soc: imx: add i.MX8MP " Peng Fan (OSS)
2022-07-23 20:47 ` Krzysztof Kozlowski
2022-07-22 12:57 ` [PATCH V4 5/8] soc: imx: add i.MX8MP HDMI blk ctrl HDCP/HRV Peng Fan (OSS)
2022-07-22 16:35 ` kernel test robot
2022-07-25 8:25 ` Marco Felsch
2022-07-25 8:31 ` Peng Fan
2022-07-22 12:57 ` [PATCH V4 6/8] soc: imx: imx8m-blk-ctrl: add i.MX8MP VPU blk ctrl Peng Fan (OSS)
2022-07-22 18:06 ` kernel test robot [this message]
2022-07-22 12:57 ` [PATCH V4 7/8] arm64: dts: imx8mp: add vpu pgc nodes Peng Fan (OSS)
2022-07-22 12:57 ` [PATCH V4 8/8] arm64: dts: imx8mp: add VPU blk ctrl node Peng Fan (OSS)
2022-07-22 19:37 ` kernel test robot
2022-08-21 7:44 ` Shawn Guo
2022-08-09 1:35 ` [PATCH V4 0/8] imx: add i.MX8MP hdmi blk ctrl hdcp/hrv and vpu blk ctrl Peng Fan
2022-08-21 7:41 ` Shawn Guo
2022-08-22 3:36 ` Peng Fan
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=202207230135.ZQrimSwM-lkp@intel.com \
--to=lkp@intel.com \
--cc=Markus.Niebel@ew.tq-group.com \
--cc=aford173@gmail.com \
--cc=aisheng.dong@nxp.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=l.stach@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=marex@denx.de \
--cc=paul.elder@ideasonboard.com \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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;
as well as URLs for NNTP newsgroup(s).