From: kernel test robot <lkp@intel.com>
To: John Madieu <john.madieu.xa@bp.renesas.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-renesas-soc@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [geert-renesas-devel:renesas-drivers-for-v6.15 4/6] drivers/soc/renesas/r9a09g047-sys.c:51:13: error: implicit declaration of function 'FIELD_GET'
Date: Thu, 30 Jan 2025 06:06:32 +0800 [thread overview]
Message-ID: <202501300600.APok2iDU-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git renesas-drivers-for-v6.15
head: 106b182b2d7f05703d27e37cbcf23a6fb652872f
commit: 1e5827262bc7f29b3735889919009b744ea8f55d [4/6] soc: renesas: rz-sysc: Add support for RZ/G3E family
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250130/202501300600.APok2iDU-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250130/202501300600.APok2iDU-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/202501300600.APok2iDU-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/soc/renesas/r9a09g047-sys.c: In function 'rzg3e_sys_print_id':
>> drivers/soc/renesas/r9a09g047-sys.c:51:13: error: implicit declaration of function 'FIELD_GET' [-Wimplicit-function-declaration]
51 | if (FIELD_GET(SYS_LSI_MODE_STAT_BOOTPLLCA55, mode_val) != SYS_LSI_MODE_CA55_1_7GHZ)
| ^~~~~~~~~
vim +/FIELD_GET +51 drivers/soc/renesas/r9a09g047-sys.c
30
31 static void rzg3e_sys_print_id(struct device *dev,
32 void __iomem *sysc_base,
33 struct soc_device_attribute *soc_dev_attr)
34 {
35 bool is_quad_core, npu_enabled;
36 u32 prr_val, mode_val;
37
38 prr_val = readl(sysc_base + SYS_LSI_PRR);
39 mode_val = readl(sysc_base + SYS_LSI_MODE);
40
41 /* Check CPU and NPU configuration */
42 is_quad_core = !(prr_val & SYS_LSI_PRR_CA55_DIS);
43 npu_enabled = !(prr_val & SYS_LSI_PRR_NPU_DIS);
44
45 dev_info(dev, "Detected Renesas %s Core %s %s Rev %s%s\n",
46 is_quad_core ? "Quad" : "Dual", soc_dev_attr->family,
47 soc_dev_attr->soc_id, soc_dev_attr->revision,
48 npu_enabled ? " with Ethos-U55" : "");
49
50 /* Check CA55 PLL configuration */
> 51 if (FIELD_GET(SYS_LSI_MODE_STAT_BOOTPLLCA55, mode_val) != SYS_LSI_MODE_CA55_1_7GHZ)
52 dev_warn(dev, "CA55 PLL is not set to 1.7GHz\n");
53 }
54
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-01-29 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-29 22:06 kernel test robot [this message]
2025-01-30 9:03 ` [geert-renesas-devel:renesas-drivers-for-v6.15 4/6] drivers/soc/renesas/r9a09g047-sys.c:51:13: error: implicit declaration of function 'FIELD_GET' Geert Uytterhoeven
2025-01-30 14:06 ` John Madieu
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=202501300600.APok2iDU-lkp@intel.com \
--to=lkp@intel.com \
--cc=geert+renesas@glider.be \
--cc=john.madieu.xa@bp.renesas.com \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.