All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-chenxing:mstar_v5_14_rebase 85/352] drivers/clk/mstar/clk-mstar-pll_common.c:14:6: warning: variable 'numparents' set but not used
@ 2021-07-19 14:07 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-19 14:07 UTC (permalink / raw)
  To: Daniel Palmer; +Cc: kbuild-all, linux-kernel

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

tree:   git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head:   651efd0e52f225e60faa8b30f9768021e2104d3c
commit: 78ccc706083df2c5a3abc63b37f3fb659047cd6b [85/352] pll common makefile
config: alpha-randconfig-r004-20210719 (attached as .config)
compiler: alpha-linux-gcc (GCC) 10.3.0
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
        # https://github.com/linux-chenxing/linux/commit/78ccc706083df2c5a3abc63b37f3fb659047cd6b
        git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags linux-chenxing mstar_v5_14_rebase
        git checkout 78ccc706083df2c5a3abc63b37f3fb659047cd6b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=alpha 

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/clk/mstar/clk-mstar-pll_common.c: In function 'mstar_pll_common_probe':
>> drivers/clk/mstar/clk-mstar-pll_common.c:14:6: warning: variable 'numparents' set but not used [-Wunused-but-set-variable]
      14 |  int numparents, numoutputs, numrates, pllindex;
         |      ^~~~~~~~~~


vim +/numparents +14 drivers/clk/mstar/clk-mstar-pll_common.c

c8123925d33e64 Daniel Palmer 2020-11-02   7  
c8123925d33e64 Daniel Palmer 2020-11-02   8  int mstar_pll_common_probe(struct platform_device *pdev, struct mstar_pll **pll,
c8123925d33e64 Daniel Palmer 2020-11-02   9  		const struct clk_ops *clk_ops)
c8123925d33e64 Daniel Palmer 2020-11-02  10  {
c8123925d33e64 Daniel Palmer 2020-11-02  11  	struct mstar_pll_output* output;
c8123925d33e64 Daniel Palmer 2020-11-02  12  	struct clk_init_data *clk_init;
c8123925d33e64 Daniel Palmer 2020-11-02  13  	struct clk* clk;
c8123925d33e64 Daniel Palmer 2020-11-02 @14  	int numparents, numoutputs, numrates, pllindex;

:::::: The code at line 14 was first introduced by commit
:::::: c8123925d33e64e037be76469291e62cd81e586f clk: mstar: pll common

:::::: TO: Daniel Palmer <daniel@0x0f.com>
:::::: CC: Daniel Palmer <daniel@0x0f.com>

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

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

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

* [linux-chenxing:mstar_v5_14_rebase 85/352] drivers/clk/mstar/clk-mstar-pll_common.c:14:6: warning: variable 'numparents' set but not used
@ 2021-07-19 14:07 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-19 14:07 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head:   651efd0e52f225e60faa8b30f9768021e2104d3c
commit: 78ccc706083df2c5a3abc63b37f3fb659047cd6b [85/352] pll common makefile
config: alpha-randconfig-r004-20210719 (attached as .config)
compiler: alpha-linux-gcc (GCC) 10.3.0
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
        # https://github.com/linux-chenxing/linux/commit/78ccc706083df2c5a3abc63b37f3fb659047cd6b
        git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags linux-chenxing mstar_v5_14_rebase
        git checkout 78ccc706083df2c5a3abc63b37f3fb659047cd6b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=alpha 

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/clk/mstar/clk-mstar-pll_common.c: In function 'mstar_pll_common_probe':
>> drivers/clk/mstar/clk-mstar-pll_common.c:14:6: warning: variable 'numparents' set but not used [-Wunused-but-set-variable]
      14 |  int numparents, numoutputs, numrates, pllindex;
         |      ^~~~~~~~~~


vim +/numparents +14 drivers/clk/mstar/clk-mstar-pll_common.c

c8123925d33e64 Daniel Palmer 2020-11-02   7  
c8123925d33e64 Daniel Palmer 2020-11-02   8  int mstar_pll_common_probe(struct platform_device *pdev, struct mstar_pll **pll,
c8123925d33e64 Daniel Palmer 2020-11-02   9  		const struct clk_ops *clk_ops)
c8123925d33e64 Daniel Palmer 2020-11-02  10  {
c8123925d33e64 Daniel Palmer 2020-11-02  11  	struct mstar_pll_output* output;
c8123925d33e64 Daniel Palmer 2020-11-02  12  	struct clk_init_data *clk_init;
c8123925d33e64 Daniel Palmer 2020-11-02  13  	struct clk* clk;
c8123925d33e64 Daniel Palmer 2020-11-02 @14  	int numparents, numoutputs, numrates, pllindex;

:::::: The code at line 14 was first introduced by commit
:::::: c8123925d33e64e037be76469291e62cd81e586f clk: mstar: pll common

:::::: TO: Daniel Palmer <daniel@0x0f.com>
:::::: CC: Daniel Palmer <daniel@0x0f.com>

---
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: 29501 bytes --]

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

end of thread, other threads:[~2021-07-19 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-19 14:07 [linux-chenxing:mstar_v5_14_rebase 85/352] drivers/clk/mstar/clk-mstar-pll_common.c:14:6: warning: variable 'numparents' set but not used kernel test robot
2021-07-19 14:07 ` kernel test robot

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.