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: <202210222213.iaF3bpe8-lkp@intel.com>
Date:   Sat, 22 Oct 2022 23:02:48 +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: error: 'deprecated_msg' defined but not used

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4da34b7d175dc99b8befebd69e96546c960d526c
commit: 1ff20307393e17dc57fde62226df625a3a3c36e9 ext4: unconditionally enable the i_version counter
date:   3 weeks ago
config: x86_64-sof-customedconfig-edison-defconfig
compiler: gcc-11 (Debian 11.3.0-8) 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=x86_64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> fs/ext4/super.c:1750:19: error: 'deprecated_msg' defined but not used [-Werror=unused-const-variable=]
    1750 | static const char deprecated_msg[] =
         |                   ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


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" (170696 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ