From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:6.6-2.0.x-imx 5875/16788] arch/arm/mach-imx/mach-imx7ulp.c:22:24: warning: 'mx7ulp_io_desc' defined but not used
Date: Sat, 28 Sep 2024 22:21:37 +0800 [thread overview]
Message-ID: <202409282245.vUXo49RF-lkp@intel.com> (raw)
tree: https://github.com/Freescale/linux-fslc 6.6-2.0.x-imx
head: ac32ba5fe66266329914d2020570364afe217bec
commit: 8edc700dd52e0961f046aa8e47e812efc10ae588 [5875/16788] Merge branch 'clock/next' into next
config: arm-randconfig-001-20240928 (https://download.01.org/0day-ci/archive/20240928/202409282245.vUXo49RF-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240928/202409282245.vUXo49RF-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/202409282245.vUXo49RF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm/mach-imx/mach-imx7ulp.c:22:24: warning: 'mx7ulp_io_desc' defined but not used [-Wunused-variable]
22 | static struct map_desc mx7ulp_io_desc[] __initdata = {
| ^~~~~~~~~~~~~~
In file included from arch/arm/mach-imx/mach-imx7ulp.c:15:
arch/arm/mach-imx/common.h:164:18: warning: 'imx53_suspend_sz' defined but not used [-Wunused-const-variable=]
164 | static const u32 imx53_suspend_sz;
| ^~~~~~~~~~~~~~~~
--
>> arch/arm/mach-imx/pm-imx7ulp.c:649:13: warning: no previous prototype for 'imx7ulp_pm_common_init' [-Wmissing-prototypes]
649 | void __init imx7ulp_pm_common_init(const struct imx7ulp_pm_socdata
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/mach-imx/pm-imx7ulp.c:34:
arch/arm/mach-imx/common.h:164:18: warning: 'imx53_suspend_sz' defined but not used [-Wunused-const-variable=]
164 | static const u32 imx53_suspend_sz;
| ^~~~~~~~~~~~~~~~
--
arch/arm/mach-imx/busfreq_ddr3.c:217:5: warning: no previous prototype for 'can_change_ddr_freq' [-Wmissing-prototypes]
217 | int can_change_ddr_freq(void)
| ^~~~~~~~~~~~~~~~~~~
arch/arm/mach-imx/busfreq_ddr3.c:254:5: warning: no previous prototype for 'update_ddr_freq_imx_smp' [-Wmissing-prototypes]
254 | int update_ddr_freq_imx_smp(int ddr_rate)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_ddr3.c:379:5: warning: no previous prototype for 'update_ddr_freq_imx6_up' [-Wmissing-prototypes]
379 | int update_ddr_freq_imx6_up(int ddr_rate)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-imx/busfreq_ddr3.c:424:5: warning: no previous prototype for 'init_ddrc_ddr_settings' [-Wmissing-prototypes]
424 | int init_ddrc_ddr_settings(struct platform_device *busfreq_pdev)
| ^~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_ddr3.c:496:5: warning: no previous prototype for 'init_mmdc_ddr3_settings_imx6_up' [-Wmissing-prototypes]
496 | int init_mmdc_ddr3_settings_imx6_up(struct platform_device *busfreq_pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_ddr3.c:593:5: warning: no previous prototype for 'init_mmdc_ddr3_settings_imx6_smp' [-Wmissing-prototypes]
593 | int init_mmdc_ddr3_settings_imx6_smp(struct platform_device *busfreq_pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/mach-imx/busfreq_ddr3.c:48:
arch/arm/mach-imx/common.h:164:18: warning: 'imx53_suspend_sz' defined but not used [-Wunused-const-variable=]
164 | static const u32 imx53_suspend_sz;
| ^~~~~~~~~~~~~~~~
--
>> arch/arm/mach-imx/busfreq_lpddr2.c:124:5: warning: no previous prototype for 'update_lpddr2_freq' [-Wmissing-prototypes]
124 | int update_lpddr2_freq(int ddr_rate)
| ^~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_lpddr2.c:159:5: warning: no previous prototype for 'init_mmdc_lpddr2_settings' [-Wmissing-prototypes]
159 | int init_mmdc_lpddr2_settings(struct platform_device *busfreq_pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_lpddr2.c:185:5: warning: no previous prototype for 'update_lpddr2_freq_smp' [-Wmissing-prototypes]
185 | int update_lpddr2_freq_smp(int ddr_rate)
| ^~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-imx/busfreq_lpddr2.c:283:5: warning: no previous prototype for 'init_mmdc_lpddr2_settings_mx6q' [-Wmissing-prototypes]
283 | int init_mmdc_lpddr2_settings_mx6q(struct platform_device *busfreq_pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/mach-imx/busfreq_lpddr2.c:48:
arch/arm/mach-imx/common.h:164:18: warning: 'imx53_suspend_sz' defined but not used [-Wunused-const-variable=]
164 | static const u32 imx53_suspend_sz;
| ^~~~~~~~~~~~~~~~
--
>> arch/arm/mach-imx/busfreq-imx.c:96: warning: Cannot understand * @brief Functions to init and update the busfreq function of
on line 96 - I thought it was a doc line
vim +/mx7ulp_io_desc +22 arch/arm/mach-imx/mach-imx7ulp.c
9edf908a16c43c Anson Huang 2019-01-11 20
eeff332d6fc9b2 Anson Huang 2019-08-07 21 /* static IO mapping, and ioremap() could always share the same mapping. */
eeff332d6fc9b2 Anson Huang 2019-08-07 @22 static struct map_desc mx7ulp_io_desc[] __initdata = {
eeff332d6fc9b2 Anson Huang 2019-08-07 23 mx7ulp_aips_map_entry(1, MT_DEVICE),
eeff332d6fc9b2 Anson Huang 2019-08-07 24 mx7ulp_aips_map_entry(2, MT_DEVICE),
eeff332d6fc9b2 Anson Huang 2019-08-07 25 mx7ulp_aips_map_entry(3, MT_DEVICE),
eeff332d6fc9b2 Anson Huang 2019-08-07 26 mx7ulp_aips_map_entry(4, MT_DEVICE),
eeff332d6fc9b2 Anson Huang 2019-08-07 27 mx7ulp_aips_map_entry(5, MT_DEVICE),
eeff332d6fc9b2 Anson Huang 2019-08-07 28 };
eeff332d6fc9b2 Anson Huang 2019-08-07 29
:::::: The code at line 22 was first introduced by commit
:::::: eeff332d6fc9b27509e378e29ce956bf9e8342f3 ARM: imx: Add i.MX7ULP suspend/resume support
:::::: TO: Anson Huang <Anson.Huang@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-09-28 14:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202409282245.vUXo49RF-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=otavio@ossystems.com.br \
/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.