Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1099116rdh; Fri, 24 Nov 2023 05:22:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuGOfdHwVZksjOq9vD/lQi/l4mf6z2lODbn/VnWM4kAzV/Ah0WP2YfBSULZbJTWGoi8wDX X-Received: by 2002:a17:903:11d1:b0:1b8:90bd:d157 with SMTP id q17-20020a17090311d100b001b890bdd157mr3393765plh.26.1700832121007; Fri, 24 Nov 2023 05:22:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700832120; cv=none; d=google.com; s=arc-20160816; b=EY+o6xhu46/efc1HdCtfE3tFUhIHwHKN2IL1sX8PlfjPhP48+3xTQa9EPN2M9w6Mhq o8hvYKrPkvDiKT4mMTQLLtsst1nxCjCPET/dbw6B+l9LlLKYDYChkdWVTRWHCxhZKGxd lJOMtkO06wCf3QZQ2T5TDkKHn+Hdc4bRB1/vWxBvB93YOLv95myxWxZRarew9eC0CMJY o8L+uyoa4DLeTcIJ8Hka4QFXtHAVgAMTSrv+oTi5tZFs3feM4fKsccDrIOmMCto4DYhB yWab5jH+x3klXEfKQ5VZywM2tvd92JIRsmuai/uZ+peKVreT+pM3xEU9J8wcSzyhEcZg G+NA== 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=9/UQmsSNZksnVFMpQ91bdRMfahPGZ0i2lVH9uSy3HNQ=; fh=IUgeUTRYOVozjAgrNNo4IYKjN4bLDzCKBpWGAMwB/7o=; b=tuZ/ZqZpwak0jRxvS7NeoFW6IlU/pVSzXq6Z+Y6hajpnPum7HuHGvYm1rFiK68YPU3 kcDISTKttwl13K6RKXaYsPx+L1zMu+Zc8iS++GPAJH1AS9RmPF7LkqlphUvZocODcTlA wDTKwVzx8MePvung1DEgZt1u2MkxaDsX018F1SHVER78en3mI2XAelGZYclbVUFQdb/r vBW2DzVEvs2d2G/3ewtp96saIu72+lFX7ZNrMZiC6wiwN8hhGRH1VtcGhPn/VBnorQ7I HU97U0SwKBtvSQuqBJWxs0BwHa+o9oMVWrjCUKhRUGnFB9yyscfr+8ROujWFMFTIAniH hkbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="cwW0+E/b"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l13-20020a170903120d00b001cf7e523594si3574182plh.439.2023.11.24.05.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 05:22:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="cwW0+E/b"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id E2F0281FD9FD; Fri, 24 Nov 2023 05:21:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345556AbjKXNUp (ORCPT + 99 others); Fri, 24 Nov 2023 08:20:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345324AbjKXNUg (ORCPT ); Fri, 24 Nov 2023 08:20:36 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 950BC1724; Fri, 24 Nov 2023 05:20:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700832038; x=1732368038; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=D6sAom7DCqR1Zyqj6Jdy6bkLwVXib4NKjEjRLqF2SOc=; b=cwW0+E/b/CDSWn2YxcZ3+w3t7cHB9ibez/ry/tuKUxu7XlhCItoK4XAR tQDTwhLJ4fpGa/4dFa1HB+dUyN3/rL8BV3INhkSHcJr4BWDOfyJZj+WgD blQQ+aArXDRzly3mV7rJWR8PS0WP8mAj1yp3rj3/F1BUiY8gKvNthMvj/ VSK9DKB2HOrcKIgVAbUTqn7RTg/H7W8eZkAO5Qb6w5m4z4aLYXl0wLXn8 KFBitvC1BCgwCl0CQFhxKxZXDU1ff7WWjR0PMWGKke9lFGNEasihhch+y bh9LFXYzD3G6HUaemaeevlBPV0gxmwLyiIoi6c6t7XooGm3cwaNxtrd1P Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="456765084" X-IronPort-AV: E=Sophos;i="6.04,224,1695711600"; d="scan'208";a="456765084" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2023 05:20:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="767477050" X-IronPort-AV: E=Sophos;i="6.04,224,1695711600"; d="scan'208";a="767477050" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 24 Nov 2023 05:20:09 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r6W6J-0002ng-1e; Fri, 24 Nov 2023 13:20:07 +0000 Date: Fri, 24 Nov 2023 21:19:37 +0800 From: kernel test robot To: Kathiravan Thirumoorthy , Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Catalin Marinas , Will Deacon Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kathiravan Thirumoorthy Subject: Re: [PATCH v2 7/9] clk: qcom: add NSS clock Controller driver for Qualcomm IPQ5332 Message-ID: <202311241420.9uiff44i-lkp@intel.com> References: <20231121-ipq5332-nsscc-v2-7-a7ff61beab72@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121-ipq5332-nsscc-v2-7-a7ff61beab72@quicinc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 24 Nov 2023 05:21:12 -0800 (PST) Hi Kathiravan, kernel test robot noticed the following build errors: [auto build test ERROR on 07b677953b9dca02928be323e2db853511305fa9] url: https://github.com/intel-lab-lkp/linux/commits/Kathiravan-Thirumoorthy/clk-qcom-ipq5332-add-const-qualifier-to-the-clk_init_data-structure/20231121-223615 base: 07b677953b9dca02928be323e2db853511305fa9 patch link: https://lore.kernel.org/r/20231121-ipq5332-nsscc-v2-7-a7ff61beab72%40quicinc.com patch subject: [PATCH v2 7/9] clk: qcom: add NSS clock Controller driver for Qualcomm IPQ5332 config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20231124/202311241420.9uiff44i-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231124/202311241420.9uiff44i-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202311241420.9uiff44i-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/clk/qcom/nsscc-ipq5332.c:161:62: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ >> drivers/clk/qcom/nsscc-ipq5332.c:162:2: error: call to undeclared function 'C'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] C(P_UNIPHY0_NSS_RX_CLK, 12.5, 0, 0), ^ drivers/clk/qcom/nsscc-ipq5332.c:166:63: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_125[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ >> drivers/clk/qcom/nsscc-ipq5332.c:171:64: error: array has incomplete element type 'const struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:171:21: note: forward declaration of 'struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { ^ >> drivers/clk/qcom/nsscc-ipq5332.c:172:2: error: call to undeclared function 'FMS'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FMS(24000000, P_XO, 1, 0, 0), ^ >> drivers/clk/qcom/nsscc-ipq5332.c:173:2: error: call to undeclared function 'FM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] FM(25000000, ftbl_nss_cc_port1_rx_clk_src_25), ^ >> drivers/clk/qcom/nsscc-ipq5332.c:191:11: error: use of undeclared identifier 'clk_rcg2_fm_ops'; did you mean 'clk_rcg2_ops'? .ops = &clk_rcg2_fm_ops, ^~~~~~~~~~~~~~~ clk_rcg2_ops drivers/clk/qcom/clk-rcg.h:170:29: note: 'clk_rcg2_ops' declared here extern const struct clk_ops clk_rcg2_ops; ^ drivers/clk/qcom/nsscc-ipq5332.c:195:62: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_tx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:200:63: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_tx_clk_src_125[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:205:64: error: array has incomplete element type 'const struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_tx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:171:21: note: forward declaration of 'struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:225:11: error: use of undeclared identifier 'clk_rcg2_fm_ops'; did you mean 'clk_rcg2_ops'? .ops = &clk_rcg2_fm_ops, ^~~~~~~~~~~~~~~ clk_rcg2_ops drivers/clk/qcom/clk-rcg.h:170:29: note: 'clk_rcg2_ops' declared here extern const struct clk_ops clk_rcg2_ops; ^ drivers/clk/qcom/nsscc-ipq5332.c:229:62: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port2_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:234:63: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port2_rx_clk_src_125[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:239:64: error: array has incomplete element type 'const struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port2_rx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:171:21: note: forward declaration of 'struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:259:11: error: use of undeclared identifier 'clk_rcg2_fm_ops'; did you mean 'clk_rcg2_ops'? .ops = &clk_rcg2_fm_ops, ^~~~~~~~~~~~~~~ clk_rcg2_ops drivers/clk/qcom/clk-rcg.h:170:29: note: 'clk_rcg2_ops' declared here extern const struct clk_ops clk_rcg2_ops; ^ drivers/clk/qcom/nsscc-ipq5332.c:263:62: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port2_tx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:268:63: error: array has incomplete element type 'const struct freq_conf' static const struct freq_conf ftbl_nss_cc_port2_tx_clk_src_125[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:161:21: note: forward declaration of 'struct freq_conf' static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:273:64: error: array has incomplete element type 'const struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port2_tx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:171:21: note: forward declaration of 'struct freq_multi_tbl' static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { ^ drivers/clk/qcom/nsscc-ipq5332.c:293:11: error: use of undeclared identifier 'clk_rcg2_fm_ops'; did you mean 'clk_rcg2_ops'? .ops = &clk_rcg2_fm_ops, ^~~~~~~~~~~~~~~ clk_rcg2_ops drivers/clk/qcom/clk-rcg.h:170:29: note: 'clk_rcg2_ops' declared here extern const struct clk_ops clk_rcg2_ops; ^ 19 errors generated. vim +161 drivers/clk/qcom/nsscc-ipq5332.c 160 > 161 static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_25[] = { > 162 C(P_UNIPHY0_NSS_RX_CLK, 12.5, 0, 0), 163 C(P_UNIPHY0_NSS_RX_CLK, 5, 0, 0), 164 }; 165 166 static const struct freq_conf ftbl_nss_cc_port1_rx_clk_src_125[] = { 167 C(P_UNIPHY0_NSS_RX_CLK, 2.5, 0, 0), 168 C(P_UNIPHY0_NSS_RX_CLK, 1, 0, 0), 169 }; 170 > 171 static const struct freq_multi_tbl ftbl_nss_cc_port1_rx_clk_src[] = { > 172 FMS(24000000, P_XO, 1, 0, 0), > 173 FM(25000000, ftbl_nss_cc_port1_rx_clk_src_25), 174 FMS(78125000, P_UNIPHY0_NSS_RX_CLK, 4, 0, 0), 175 FM(125000000, ftbl_nss_cc_port1_rx_clk_src_125), 176 FMS(156250000, P_UNIPHY0_NSS_RX_CLK, 2, 0, 0), 177 FMS(312500000, P_UNIPHY0_NSS_RX_CLK, 1, 0, 0), 178 { } 179 }; 180 181 static struct clk_rcg2 nss_cc_port1_rx_clk_src = { 182 .cmd_rcgr = 0x450, 183 .mnd_width = 0, 184 .hid_width = 5, 185 .parent_map = nss_cc_parent_map_1, 186 .freq_multi_tbl = ftbl_nss_cc_port1_rx_clk_src, 187 .clkr.hw.init = &(const struct clk_init_data) { 188 .name = "nss_cc_port1_rx_clk_src", 189 .parent_data = nss_cc_parent_data_1, 190 .num_parents = ARRAY_SIZE(nss_cc_parent_data_1), > 191 .ops = &clk_rcg2_fm_ops, 192 }, 193 }; 194 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki