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]
Message-ID: <202208161410.TIsjGMiZ-lkp@intel.com>
Date:   Tue, 16 Aug 2022 14:12:19 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jianpeng Ma <jianpeng.ma@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Coly Li <colyli@...e.de>, Qiaowei Ren <qiaowei.ren@...el.com>
Subject: [colyli-bcache:nvdimm-meta 2/16]
 drivers/md/bcache/nvmpg_format.h:132:19: warning: 'bch_nvmpg_recs_magic'
 defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git nvdimm-meta
head:   b3a2634cd2ac86de5e7ac607104db6866b1b9f6b
commit: 08ce6a36470047a30ac9db26714a566280adddde [2/16] bcache: initialize the nvm pages allocator
config: i386-randconfig-a003-20220815 (https://download.01.org/0day-ci/archive/20220816/202208161410.TIsjGMiZ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git/commit/?id=08ce6a36470047a30ac9db26714a566280adddde
        git remote add colyli-bcache https://git.kernel.org/pub/scm/linux/kernel/git/colyli/linux-bcache.git
        git fetch --no-tags colyli-bcache nvdimm-meta
        git checkout 08ce6a36470047a30ac9db26714a566280adddde
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/md/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/md/bcache/nvmpg.h:8,
                    from drivers/md/bcache/super.c:17:
>> drivers/md/bcache/nvmpg_format.h:132:19: warning: 'bch_nvmpg_recs_magic' defined but not used [-Wunused-const-variable=]
     132 | static const __u8 bch_nvmpg_recs_magic[] = {
         |                   ^~~~~~~~~~~~~~~~~~~~
>> drivers/md/bcache/nvmpg_format.h:129:19: warning: 'bch_nvmpg_magic' defined but not used [-Wunused-const-variable=]
     129 | static const __u8 bch_nvmpg_magic[] = {
         |                   ^~~~~~~~~~~~~~~


vim +/bch_nvmpg_recs_magic +132 drivers/md/bcache/nvmpg_format.h

e9147021c67818 Coly Li 2021-07-26  128  
e9147021c67818 Coly Li 2021-07-26 @129  static const __u8 bch_nvmpg_magic[] = {
e9147021c67818 Coly Li 2021-07-26  130  	0x17, 0xbd, 0x53, 0x7f, 0x1b, 0x23, 0xd6, 0x83,
e9147021c67818 Coly Li 2021-07-26  131  	0x46, 0xa4, 0xf8, 0x28, 0x17, 0xda, 0xec, 0xa9 };
e9147021c67818 Coly Li 2021-07-26 @132  static const __u8 bch_nvmpg_recs_magic[] = {
e9147021c67818 Coly Li 2021-07-26  133  	0x39, 0x25, 0x3f, 0xf7, 0x27, 0x17, 0xd0, 0xb9,
e9147021c67818 Coly Li 2021-07-26  134  	0x10, 0xe6, 0xd2, 0xda, 0x38, 0x68, 0x26, 0xae };
e9147021c67818 Coly Li 2021-07-26  135  

:::::: The code at line 132 was first introduced by commit
:::::: e9147021c678184512de1776d163b5a994a209a3 bcache: add initial data structures for nvm pages

:::::: TO: Coly Li <colyli@...e.de>
:::::: CC: Coly Li <colyli@...e.de>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ