linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [dinguyen:socfpga_clk_fix_s2f_user0 1/1] drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used
@ 2021-09-09  1:56 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-09  1:56 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git socfpga_clk_fix_s2f_user0
head:   82ab338dbcb74fb616cee23a0f218eeaefa2b3bc
commit: 82ab338dbcb74fb616cee23a0f218eeaefa2b3bc [1/1] clk: socfpga: agilex: fix duplicate s2f_user0_clk
config: arc-randconfig-r043-20210908 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/commit/?id=82ab338dbcb74fb616cee23a0f218eeaefa2b3bc
        git remote add dinguyen https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git
        git fetch --no-tags dinguyen socfpga_clk_fix_s2f_user0
        git checkout 82ab338dbcb74fb616cee23a0f218eeaefa2b3bc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

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

All errors (new ones prefixed by >>):

>> drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used [-Werror=unused-const-variable=]
     168 | static const struct clk_parent_data s2f_usr0_mux[] = {
         |                                     ^~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/s2f_usr0_mux +168 drivers/clk/socfpga/clk-agilex.c

80c6b7a0894ffdf Dinh Nguyen 2020-05-12  167  
80c6b7a0894ffdf Dinh Nguyen 2020-05-12 @168  static const struct clk_parent_data s2f_usr0_mux[] = {
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  169  	{ .fw_name = "f2s-free-clk",
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  170  	  .name = "f2s-free-clk", },
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  171  	{ .fw_name = "boot_clk",
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  172  	  .name = "boot_clk", },
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  173  };
80c6b7a0894ffdf Dinh Nguyen 2020-05-12  174  

:::::: The code at line 168 was first introduced by commit
:::::: 80c6b7a0894ffdf3c781f047479752015e5d5b27 clk: socfpga: agilex: add clock driver for the Agilex platform

:::::: TO: Dinh Nguyen <dinguyen@kernel.org>
:::::: CC: Stephen Boyd <sboyd@kernel.org>

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

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

* [dinguyen:socfpga_clk_fix_s2f_user0 1/1] drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used
@ 2021-09-14  5:12 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-14  5:12 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git socfpga_clk_fix_s2f_user0
head:   d9c5d65ecc277f24be715c87328a329e77e25ed4
commit: d9c5d65ecc277f24be715c87328a329e77e25ed4 [1/1] clk: socfpga: agilex: fix duplicate s2f_user0_clk
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/commit/?id=d9c5d65ecc277f24be715c87328a329e77e25ed4
        git remote add dinguyen https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git
        git fetch --no-tags dinguyen socfpga_clk_fix_s2f_user0
        git checkout d9c5d65ecc277f24be715c87328a329e77e25ed4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2 

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

All errors (new ones prefixed by >>):

>> drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used [-Werror=unused-const-variable=]
     168 | static const struct clk_parent_data s2f_usr0_mux[] = {
         |                                     ^~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/s2f_usr0_mux +168 drivers/clk/socfpga/clk-agilex.c

80c6b7a0894ffd Dinh Nguyen 2020-05-12  167  
80c6b7a0894ffd Dinh Nguyen 2020-05-12 @168  static const struct clk_parent_data s2f_usr0_mux[] = {
80c6b7a0894ffd Dinh Nguyen 2020-05-12  169  	{ .fw_name = "f2s-free-clk",
80c6b7a0894ffd Dinh Nguyen 2020-05-12  170  	  .name = "f2s-free-clk", },
80c6b7a0894ffd Dinh Nguyen 2020-05-12  171  	{ .fw_name = "boot_clk",
80c6b7a0894ffd Dinh Nguyen 2020-05-12  172  	  .name = "boot_clk", },
80c6b7a0894ffd Dinh Nguyen 2020-05-12  173  };
80c6b7a0894ffd Dinh Nguyen 2020-05-12  174  

:::::: The code at line 168 was first introduced by commit
:::::: 80c6b7a0894ffdf3c781f047479752015e5d5b27 clk: socfpga: agilex: add clock driver for the Agilex platform

:::::: TO: Dinh Nguyen <dinguyen@kernel.org>
:::::: CC: Stephen Boyd <sboyd@kernel.org>

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

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

end of thread, other threads:[~2021-09-14  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09  1:56 [dinguyen:socfpga_clk_fix_s2f_user0 1/1] drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used kernel test robot
2021-09-14  5:12 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).