All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: ixgbe01 <yangwang@njis.ac.cn>
Cc: oe-kbuild-all@lists.linux.dev, Han Gao <gaohan@iscas.ac.cn>
Subject: [esmil:th1520 38/52] drivers/clk/thead/clk-light-mpw.c:80:42: warning: 'light_syspll_tbl' defined but not used
Date: Thu, 7 Dec 2023 21:17:33 +0800	[thread overview]
Message-ID: <202312072139.SvluntQx-lkp@intel.com> (raw)

tree:   https://github.com/esmil/linux th1520
head:   64731462dd62508162241c28bd319829df635524
commit: 851266b8b6ef516302144607a424a7986e950822 [38/52] add TH1520 cpu frequency driver
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20231207/202312072139.SvluntQx-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231207/202312072139.SvluntQx-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/202312072139.SvluntQx-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/clk/thead/clk-light-mpw.c:80:42: warning: 'light_syspll_tbl' defined but not used [-Wunused-const-variable=]
      80 | static const struct light_pll_rate_table light_syspll_tbl[] = {
         |                                          ^~~~~~~~~~~~~~~~
>> drivers/clk/thead/clk-light-mpw.c:75:42: warning: 'light_audiopll_tbl' defined but not used [-Wunused-const-variable=]
      75 | static const struct light_pll_rate_table light_audiopll_tbl[] = {
         |                                          ^~~~~~~~~~~~~~~~~~


vim +/light_syspll_tbl +80 drivers/clk/thead/clk-light-mpw.c

    74	
  > 75	static const struct light_pll_rate_table light_audiopll_tbl[] = {
    76		LIGHT_PLL_RATE(2654208000U, 147456000U, 1, 110, 9932112,  6, 3),
    77		LIGHT_PLL_RATE(884736000U,  294912000U, 1, 36,  14495600, 3, 1),
    78	};
    79	
  > 80	static const struct light_pll_rate_table light_syspll_tbl[] = {
    81		LIGHT_PLL_RATE(2438553600U, 812851200U, 1, 101, 10173704, 3, 1),
    82		LIGHT_PLL_RATE(884736000U,  294912000U, 1, 36,  14495600, 3, 1),
    83	};
    84	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-12-07 13:17 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=202312072139.SvluntQx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gaohan@iscas.ac.cn \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yangwang@njis.ac.cn \
    /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.