lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 14 Sep 2021 13:12:25 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dinh Nguyen <dinguyen@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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

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@...el.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@...nel.org>
:::::: CC: Stephen Boyd <sboyd@...nel.org>

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

Download attachment ".config.gz" of type "application/gzip" (60771 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ