From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA60CC43334 for ; Fri, 22 Jul 2022 18:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EshoF9BIIlW9B7a6xGzvpQADgVEdsBNUnTMiJs1r+kc=; b=u/yNY5/BQGvUcy SuPHgSfVkz3L+E7Xni6ML4Yy0loYC5SRUdLukufWseDDHwN+b53IWcZY8iCwiM/24G1qQkIvKrs+X hMdjfoWYqGlpIHqNksNOgV41XbWYPiSjQlH7mak2e8F+lMwQ0myY7vCfa25+8sP838QJZimBufAD1 0+M/UVNUbkM06tbHD/eC9f8RpFj/VYNZqJ7p36vbNiKmww84BGhQJX5KlEYD8qEeebyJwaOE6Uh8M IZo2NJYCer68gqEKrjrHkiFl2aul/Uobodo3rcNfLvYK/WrgPgcHnXdY1eJ4VkjX8ojWhFx3yhA9X t8TN1tMowpYmx6zj+B7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEx48-008keM-0c; Fri, 22 Jul 2022 18:07:56 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEx44-008kRK-Np for linux-arm-kernel@lists.infradead.org; Fri, 22 Jul 2022 18:07:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658513272; x=1690049272; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hClGG4e0OyV+0QSqAwV6x3Ca/FxE2mG9JLOUb6DTO24=; b=OVC2J6WdxIMAqHu+pSI1CHvNiRpDiRhImxI5h4LHjPYM4pp/aDAIVTs2 0TgWDMvwG9EA4351KdmAwlEQsMEgj+z+n+q/0/9Vl6np3YvDwNmYMktz7 S6ESsvr0IU5vlip71mqopuE3KwPiYJo50IBLZ7x21011rNYqN73Vlkk1e aVSH5WEK8RKSG5UtnU9oQAuYesIoMc63hzgdfOieOUuk62AKr+OqNO+14 pCS4IeXzYvBrh9cx5NCXQP8Sb+mo2JWNhpKa8tWoKrVQKQeJDxjt7Trqg FmlhAPRc1sx6TnPMXGoXjxcM73XR0lif/rzX6WFBYmnVveh1ZKsdjItWp g==; X-IronPort-AV: E=McAfee;i="6400,9594,10416"; a="267149421" X-IronPort-AV: E=Sophos;i="5.93,186,1654585200"; d="scan'208";a="267149421" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2022 11:07:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,186,1654585200"; d="scan'208";a="666758059" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 22 Jul 2022 11:07:32 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oEx3k-0001hX-0G; Fri, 22 Jul 2022 18:07:32 +0000 Date: Sat, 23 Jul 2022 02:06:32 +0800 From: kernel test robot To: "Peng Fan (OSS)" , 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 Subject: Re: [PATCH V4 6/8] soc: imx: imx8m-blk-ctrl: add i.MX8MP VPU blk ctrl Message-ID: <202207230135.ZQrimSwM-lkp@intel.com> References: <20220722125730.3428017-7-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220722125730.3428017-7-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220722_110752_815889_3912328F X-CRM114-Status: GOOD ( 14.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel