public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Marangi <ansuelsmth@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Viresh Kumar <viresh.kumar@linaro.org>
Subject: Re: drivers/cpufreq/airoha-cpufreq.c:109:34: warning: 'airoha_cpufreq_match_list' defined but not used
Date: Sat, 25 Jan 2025 12:40:59 +0100	[thread overview]
Message-ID: <6794cdce.050a0220.33f6d6.1d10@mx.google.com> (raw)
In-Reply-To: <202501251941.0fXlcd1D-lkp@intel.com>

On Sat, Jan 25, 2025 at 07:38:50PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   b46c89c08f4146e7987fc355941a93b12e2c03ef
> commit: 84cf9e541cccb8cb698518a9897942e8c78f1d83 cpufreq: airoha: Add EN7581 CPUFreq SMCCC driver
> date:   8 days ago
> config: sh-randconfig-r071-20250125 (https://download.01.org/0day-ci/archive/20250125/202501251941.0fXlcd1D-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/20250125/202501251941.0fXlcd1D-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/202501251941.0fXlcd1D-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/cpufreq/airoha-cpufreq.c:109:34: warning: 'airoha_cpufreq_match_list' defined but not used [-Wunused-const-variable=]
>      109 | static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
>          |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/airoha_cpufreq_match_list +109 drivers/cpufreq/airoha-cpufreq.c
> 
>    108	
>  > 109	static const struct of_device_id airoha_cpufreq_match_list[] __initconst = {
>    110		{ .compatible = "airoha,en7581" },
>    111		{},
>    112	};
>    113	MODULE_DEVICE_TABLE(of, airoha_cpufreq_match_list);
>    114	
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

Should be already fixed in theory.

-- 
	Ansuel

      reply	other threads:[~2025-01-25 11:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-25 11:38 drivers/cpufreq/airoha-cpufreq.c:109:34: warning: 'airoha_cpufreq_match_list' defined but not used kernel test robot
2025-01-25 11:40 ` Christian Marangi [this message]

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=6794cdce.050a0220.33f6d6.1d10@mx.google.com \
    --to=ansuelsmth@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=viresh.kumar@linaro.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