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: <202210091012.qqBmEa2x-lkp@intel.com>
Date:   Sun, 9 Oct 2022 10:57:18 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jeff Layton <jlayton@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Theodore Ts'o <tytso@....edu>,
        Lukas Czerner <lczerner@...hat.com>,
        "Christian Brauner (Microsoft)" <brauner@...nel.org>,
        Jan Kara <jack@...e.cz>
Subject: fs/ext4/super.c:1750:19: warning: 'deprecated_msg' defined but not
 used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   a6afa4199d3d038fbfdff5511f7523b0e30cb774
commit: 1ff20307393e17dc57fde62226df625a3a3c36e9 ext4: unconditionally enable the i_version counter
date:   8 days ago
config: i386-randconfig-a003
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/torvalds/linux.git/commit/?id=1ff20307393e17dc57fde62226df625a3a3c36e9
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 1ff20307393e17dc57fde62226df625a3a3c36e9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/ext4/

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 >>):

>> fs/ext4/super.c:1750:19: warning: 'deprecated_msg' defined but not used [-Wunused-const-variable=]
    1750 | static const char deprecated_msg[] =
         |                   ^~~~~~~~~~~~~~


vim +/deprecated_msg +1750 fs/ext4/super.c

196e402adf2e4c Harshad Shirwadkar 2021-04-01  1749  
d60061867303aa Eric Biggers       2017-04-29 @1750  static const char deprecated_msg[] =
d60061867303aa Eric Biggers       2017-04-29  1751  	"Mount option \"%s\" will be removed by %s\n"
437ca0fda3b442 Dmitry Monakhov    2010-03-01  1752  	"Contact linux-ext4@...r.kernel.org if you think we should keep it.\n";
b3881f74b31b7d Theodore Ts'o      2009-01-05  1753  

:::::: The code at line 1750 was first introduced by commit
:::::: d60061867303aa2fee516e9a34efc15e78d975a9 ext4: constify static data that is never modified

:::::: TO: Eric Biggers <ebiggers@...gle.com>
:::::: CC: Theodore Ts'o <tytso@....edu>

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

View attachment "config" of type "text/plain" (155356 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ