From: kernel test robot <lkp@intel.com>
To: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Richard Cochran <richardcochran@gmail.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
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 <quic_kathirav@quicinc.com>
Subject: Re: [PATCH v2 7/9] clk: qcom: add NSS clock Controller driver for Qualcomm IPQ5332
Date: Fri, 24 Nov 2023 21:19:37 +0800 [thread overview]
Message-ID: <202311241420.9uiff44i-lkp@intel.com> (raw)
In-Reply-To: <20231121-ipq5332-nsscc-v2-7-a7ff61beab72@quicinc.com>
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 <lkp@intel.com>
| 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
next prev parent reply other threads:[~2023-11-24 13:20 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-21 14:30 [PATCH v2 0/9] Add NSS clock controller support for Qualcomm IPQ5332 Kathiravan Thirumoorthy
2023-11-21 14:30 ` [PATCH v2 1/9] clk: qcom: ipq5332: add const qualifier to the clk_init_data structure Kathiravan Thirumoorthy
2023-11-22 16:31 ` Konrad Dybcio
2023-11-21 14:30 ` [PATCH v2 2/9] clk: qcom: ipq5332: enable few nssnoc clocks in driver probe Kathiravan Thirumoorthy
2023-11-22 16:32 ` Konrad Dybcio
2023-11-21 14:30 ` [PATCH v2 3/9] dt-bindings: clock: ipq5332: drop the few nss clocks definition Kathiravan Thirumoorthy
2023-11-21 15:06 ` Krzysztof Kozlowski
2023-11-22 10:08 ` Kathiravan Thirumoorthy
2023-11-22 10:12 ` Krzysztof Kozlowski
2023-11-22 10:18 ` Kathiravan Thirumoorthy
2023-11-22 10:23 ` Dmitry Baryshkov
2023-11-22 10:45 ` Kathiravan Thirumoorthy
2023-11-21 14:30 ` [PATCH v2 4/9] dt-bindings: clock: ipq5332: add definition for GPLL0_OUT_AUX clock Kathiravan Thirumoorthy
2023-11-21 14:30 ` [PATCH v2 5/9] clk: qcom: ipq5332: add gpll0_out_aux clock Kathiravan Thirumoorthy
2023-11-22 20:22 ` Konrad Dybcio
2023-11-21 14:30 ` [PATCH v2 6/9] dt-bindings: clock: add Qualcomm IPQ5332 NSSCC clock and reset definitions Kathiravan Thirumoorthy
2023-11-21 14:30 ` [PATCH v2 7/9] clk: qcom: add NSS clock Controller driver for Qualcomm IPQ5332 Kathiravan Thirumoorthy
2023-11-22 20:20 ` Konrad Dybcio
2023-11-23 7:14 ` Kathiravan Thirumoorthy
2023-11-24 13:19 ` kernel test robot [this message]
2023-11-21 14:30 ` [PATCH v2 8/9] arm64: dts: qcom: ipq5332: add support for the NSSCC Kathiravan Thirumoorthy
2023-11-22 20:22 ` Konrad Dybcio
2023-11-23 7:13 ` Kathiravan Thirumoorthy
2023-11-21 14:30 ` [PATCH v2 9/9] arm64: defconfig: build NSS Clock Controller driver for Qualcomm IPQ5332 Kathiravan Thirumoorthy
2023-11-21 15:02 ` Krzysztof Kozlowski
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=202311241420.9uiff44i-lkp@intel.com \
--to=lkp@intel.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mturquette@baylibre.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_kathirav@quicinc.com \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=will@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).