All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dinguyen:socfpga_clk_fix_s2f_user0 1/1] drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used
Date: Tue, 14 Sep 2021 13:12:25 +0800	[thread overview]
Message-ID: <202109141320.fymH4P4e-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2456 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(a)lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dinh Nguyen <dinguyen@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [dinguyen:socfpga_clk_fix_s2f_user0 1/1] drivers/clk/socfpga/clk-agilex.c:168:37: error: 's2f_usr0_mux' defined but not used
Date: Tue, 14 Sep 2021 13:12:25 +0800	[thread overview]
Message-ID: <202109141320.fymH4P4e-lkp@intel.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-09-14  5:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14  5:12 kernel test robot [this message]
2021-09-14  5:12 ` [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
  -- strict thread matches above, loose matches on Subject: below --
2021-09-09  1:56 kernel test robot
2021-09-09  1:56 ` kernel test robot

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=202109141320.fymH4P4e-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.