All of lore.kernel.org
 help / color / mirror / Atom feed
* [vireshk-pm:cpufreq/arm/linux-next 10/11] drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match'
@ 2020-09-09 14:39 kernel test robot
  2020-09-09 14:44 ` Viresh Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-09-09 14:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git cpufreq/arm/linux-next
head:   01a6fc5a1d89da732cce368c12c390fddefba4b0
commit: 04d40f6ba24553fb85b5462d61e73d007d9900c6 [10/11] cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
config: arm64-randconfig-r011-20200909 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8893d0816ccdf8998d2e21b5430e9d6abe7ef465)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        git checkout 04d40f6ba24553fb85b5462d61e73d007d9900c6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match' [-Wunused-const-variable]
   static const struct of_device_id armada37xx_cpufreq_of_match[] = {
                                    ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git/commit/?id=04d40f6ba24553fb85b5462d61e73d007d9900c6
git remote add vireshk-pm https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git
git fetch --no-tags vireshk-pm cpufreq/arm/linux-next
git checkout 04d40f6ba24553fb85b5462d61e73d007d9900c6
vim +/armada37xx_cpufreq_of_match +487 drivers/cpufreq/armada-37xx-cpufreq.c

   486	
 > 487	static const struct of_device_id armada37xx_cpufreq_of_match[] = {
   488		{ .compatible = "marvell,armada-3700-nb-pm" },
   489		{ },
   490	};
   491	MODULE_DEVICE_TABLE(of, armada37xx_cpufreq_of_match);
   492	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33005 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [vireshk-pm:cpufreq/arm/linux-next 10/11] drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match'
  2020-09-09 14:39 [vireshk-pm:cpufreq/arm/linux-next 10/11] drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match' kernel test robot
@ 2020-09-09 14:44 ` Viresh Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2020-09-09 14:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2151 bytes --]

On 09-09-20, 22:39, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git cpufreq/arm/linux-next
> head:   01a6fc5a1d89da732cce368c12c390fddefba4b0
> commit: 04d40f6ba24553fb85b5462d61e73d007d9900c6 [10/11] cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
> config: arm64-randconfig-r011-20200909 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 8893d0816ccdf8998d2e21b5430e9d6abe7ef465)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         git checkout 04d40f6ba24553fb85b5462d61e73d007d9900c6
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
> >> drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match' [-Wunused-const-variable]
>    static const struct of_device_id armada37xx_cpufreq_of_match[] = {
>                                     ^
>    1 warning generated.
> 
> # https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git/commit/?id=04d40f6ba24553fb85b5462d61e73d007d9900c6
> git remote add vireshk-pm https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git
> git fetch --no-tags vireshk-pm cpufreq/arm/linux-next
> git checkout 04d40f6ba24553fb85b5462d61e73d007d9900c6
> vim +/armada37xx_cpufreq_of_match +487 drivers/cpufreq/armada-37xx-cpufreq.c
> 
>    486	
>  > 487	static const struct of_device_id armada37xx_cpufreq_of_match[] = {
>    488		{ .compatible = "marvell,armada-3700-nb-pm" },
>    489		{ },
>    490	};
>    491	MODULE_DEVICE_TABLE(of, armada37xx_cpufreq_of_match);
>    492	

Fixed and pushed again, thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-09 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 14:39 [vireshk-pm:cpufreq/arm/linux-next 10/11] drivers/cpufreq/armada-37xx-cpufreq.c:487:34: warning: unused variable 'armada37xx_cpufreq_of_match' kernel test robot
2020-09-09 14:44 ` Viresh Kumar

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.