From: kernel test robot <lkp@intel.com>
To: Ciprian Costea <ciprianmarian.costea@oss.nxp.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, NXP S32 Linux <s32@nxp.com>,
imx@lists.linux.dev, Christophe Lizzi <clizzi@redhat.com>,
Alberto Ruiz <aruizrui@redhat.com>,
Enric Balletbo <eballetb@redhat.com>,
Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com>,
Bogdan Hamciuc <bogdan.hamciuc@nxp.com>,
Ghennadi Procopciuc <Ghennadi.Procopciuc@nxp.com>
Subject: Re: [PATCH v8 2/4] rtc: s32g: add NXP S32G2/S32G3 SoC support
Date: Thu, 6 Mar 2025 22:47:34 +0800 [thread overview]
Message-ID: <202503062204.QeQoZBYt-lkp@intel.com> (raw)
In-Reply-To: <20250228081812.3115478-3-ciprianmarian.costea@oss.nxp.com>
Hi Ciprian,
kernel test robot noticed the following build errors:
[auto build test ERROR on robh/for-next]
[also build test ERROR on arm64/for-next/core krzk-dt/for-next linus/master v6.14-rc5 next-20250306]
[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/Ciprian-Costea/dt-bindings-rtc-add-schema-for-NXP-S32G2-S32G3-SoCs/20250228-162229
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250228081812.3115478-3-ciprianmarian.costea%40oss.nxp.com
patch subject: [PATCH v8 2/4] rtc: s32g: add NXP S32G2/S32G3 SoC support
config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20250306/202503062204.QeQoZBYt-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250306/202503062204.QeQoZBYt-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/202503062204.QeQoZBYt-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/rtc/rtc-s32g.c:204:9: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
204 | rtcc = FIELD_PREP(RTCC_CLKSEL_MASK, priv->clk_src_idx);
| ^
1 error generated.
vim +/FIELD_PREP +204 drivers/rtc/rtc-s32g.c
196
197 static int rtc_clk_src_setup(struct rtc_priv *priv)
198 {
199 u32 rtcc;
200
201 if (priv->rtc_data->reserved_clk_mask & (1 << priv->clk_src_idx))
202 return -EOPNOTSUPP;
203
> 204 rtcc = FIELD_PREP(RTCC_CLKSEL_MASK, priv->clk_src_idx);
205
206 switch (priv->rtc_data->clk_div) {
207 case DIV512_32:
208 rtcc |= RTCC_DIV512EN;
209 rtcc |= RTCC_DIV32EN;
210 break;
211 case DIV512:
212 rtcc |= RTCC_DIV512EN;
213 break;
214 case DIV32:
215 rtcc |= RTCC_DIV32EN;
216 break;
217 case DIV1:
218 break;
219 default:
220 return -EINVAL;
221 }
222
223 rtcc |= RTCC_APIEN | RTCC_APIIE;
224 /*
225 * Make sure the CNTEN is 0 before we configure
226 * the clock source and dividers.
227 */
228 s32g_rtc_disable(priv);
229 writel(rtcc, priv->rtc_base + RTCC_OFFSET);
230 s32g_rtc_enable(priv);
231
232 return 0;
233 }
234
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-06 14:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-28 8:18 [PATCH v8 0/4] add NXP RTC driver support for S32G2/S32G3 SoCs Ciprian Costea
2025-02-28 8:18 ` [PATCH v8 1/4] dt-bindings: rtc: add schema for NXP " Ciprian Costea
2025-02-28 8:18 ` [PATCH v8 2/4] rtc: s32g: add NXP S32G2/S32G3 SoC support Ciprian Costea
2025-02-28 15:37 ` Frank Li
2025-03-05 18:16 ` kernel test robot
2025-03-06 14:47 ` kernel test robot [this message]
2025-02-28 8:18 ` [PATCH v8 3/4] arm64: defconfig: add S32G RTC module support Ciprian Costea
2025-02-28 8:18 ` [PATCH v8 4/4] MAINTAINERS: add NXP S32G RTC driver Ciprian Costea
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=202503062204.QeQoZBYt-lkp@intel.com \
--to=lkp@intel.com \
--cc=Ghennadi.Procopciuc@nxp.com \
--cc=alexandre.belloni@bootlin.com \
--cc=aruizrui@redhat.com \
--cc=bogdan.hamciuc@nxp.com \
--cc=catalin.marinas@arm.com \
--cc=ciprianmarian.costea@oss.nxp.com \
--cc=clizzi@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eballetb@redhat.com \
--cc=imx@lists.linux.dev \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=s32@nxp.com \
--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).