Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp872954imi; Fri, 22 Jul 2022 11:23:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vf829A2kGvXFCMUEIoHirjVs/0QKmE8ekiuHs++T7XPmuftUfFBQBdcwFpUlfWhOuTOLdB X-Received: by 2002:a62:be04:0:b0:52a:e089:99ee with SMTP id l4-20020a62be04000000b0052ae08999eemr1135245pff.26.1658514232242; Fri, 22 Jul 2022 11:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658514232; cv=none; d=google.com; s=arc-20160816; b=PCI2WasKN25goZacShcvVTukhnn8BrFtV0d7YwHgA755W+guaiBs1v2C5moSfGWPgq be1S2f+mXreSPPnw91DEv/qOtXQ7akPByNP09gOKRekXYc25n9Zhvy7KGww2VgBJyFpJ ClUs8hJtG7ui3JlJ3QgCrUu1FdrO3TKtxggB5qck3kKzOp1AphfXUAMkM2SUk4vfOSuX 6hIHWNUTYM9VeFRqEKrXMl1Ue921nQgQcytSDiJIpU/N/3K+Ahb6x8J3+kFLhAEMZcOU ofxXWNq6akaiTJ7UqnbRoOUYrh4HxMOabSzfkc7CUBxlAZq6NQmqQ15ViTTHN+WE2uUq S6Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lkStN8HNVRSlkvRkx3YSOtTh6TsjpE98Ogp0+pZVj8g=; b=Hcl+mkDLUR1cBDNNJX9hhoo4OGGgZtAXXbAygUIQtlNjUA+xIvQLeob7qnN7/JPR3Y 2o04FplOkRV6FehR0YOGH6OIF5pZ+TiF2qnm9tJQ7ynwOevH8VdkEmheYxmv4ZO3sspi KYZ1Gczb+xo70owOLX2VoYkKtI1VVRuFysfUJVZbr4b8PQo5Vib2kdAF5PpHYC8/jkM0 l2ncAincafXGA3yEq6w+jp78sgGU6b0vHEFFkljhtrF1E3mh29PhPpXkmnYFHum9/so0 /5uAZopTe0RtA/CU2259fZSEmtlGbuSLW7RrJSRi43aZnOpp3+rN0q/bPFxnuLQ3lvYd 1YbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P7wjkEJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g21-20020a056a001a1500b0052b4624a373si6365934pfv.148.2022.07.22.11.23.36; Fri, 22 Jul 2022 11:23:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P7wjkEJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235827AbiGVSHo (ORCPT + 99 others); Fri, 22 Jul 2022 14:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233646AbiGVSHm (ORCPT ); Fri, 22 Jul 2022 14:07:42 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15B338B4BF; Fri, 22 Jul 2022 11:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658513258; x=1690049258; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hClGG4e0OyV+0QSqAwV6x3Ca/FxE2mG9JLOUb6DTO24=; b=P7wjkEJxIWtoQw8FSan+qV5i+oqxKu7N7TV0DhaOH4vNfGoz9CPNhlWX jkGrSn9dvQoCN7pkbUQvrNiRY9OK2BGPLdEijewXHuSbkhWkvs68zR/WM klot5g6fW1CCq/anmbIg5mXkoo0+4HemCgWtABVv7V5Uvwr2WFoJBpGGt LKqcngTPSliFHpwpDz41Xozy4MNAd8VZqg3GybJZtWMS1cNcAXWvDnliL upq3ZSYfWM/yAg5QAJNvQT7bGZOWNNeiam8ZVViUPGlZNYfri9zlyZUkN +PLWvXvJxQ2tbn1D+EYhyI0ztCwCo62Dg2m+2gsDx2QkLeWFUbEPo9/EA g==; X-IronPort-AV: E=McAfee;i="6400,9594,10416"; a="274233457" X-IronPort-AV: E=Sophos;i="5.93,186,1654585200"; d="scan'208";a="274233457" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220722125730.3428017-7-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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