public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fs/ext4/super.c:2054:1: error: unused function 'ctx_set_flags'
@ 2024-08-30 19:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-30 19:03 UTC (permalink / raw)
  To: Jeff Layton
  Cc: llvm, oe-kbuild-all, linux-kernel, Theodore Ts'o,
	Lukas Czerner, Christian Brauner (Microsoft), Jan Kara

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   20371ba120635d9ab7fc7670497105af8f33eb08
commit: 1ff20307393e17dc57fde62226df625a3a3c36e9 ext4: unconditionally enable the i_version counter
date:   1 year, 11 months ago
config: x86_64-sof-customedconfig-amd-defconfig (https://download.01.org/0day-ci/archive/20240831/202408310303.6OpqRWeH-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408310303.6OpqRWeH-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408310303.6OpqRWeH-lkp@intel.com/

All errors (new ones prefixed by >>):

   fs/ext4/super.c:1750:19: error: unused variable 'deprecated_msg' [-Werror,-Wunused-const-variable]
    1750 | static const char deprecated_msg[] =
         |                   ^~~~~~~~~~~~~~
>> fs/ext4/super.c:2054:1: error: unused function 'ctx_set_flags' [-Werror,-Wunused-function]
    2054 | EXT4_SET_CTX(flags); /* set only */
         | ^~~~~~~~~~~~~~~~~~~
   fs/ext4/super.c:2032:20: note: expanded from macro 'EXT4_SET_CTX'
    2032 | static inline void ctx_set_##name(struct ext4_fs_context *ctx,          \
         |                    ^~~~~~~~~~~~~~
   <scratch space>:56:1: note: expanded from here
      56 | ctx_set_flags
         | ^~~~~~~~~~~~~
   2 errors generated.


vim +/ctx_set_flags +2054 fs/ext4/super.c

6e47a3cc68fc52 Lukas Czerner 2021-10-27  2053  
e3952fcce1aad9 Lukas Czerner 2022-02-01 @2054  EXT4_SET_CTX(flags); /* set only */
6e47a3cc68fc52 Lukas Czerner 2021-10-27  2055  EXT4_SET_CTX(mount_opt);
e3952fcce1aad9 Lukas Czerner 2022-02-01  2056  EXT4_CLEAR_CTX(mount_opt);
e3952fcce1aad9 Lukas Czerner 2022-02-01  2057  EXT4_TEST_CTX(mount_opt);
6e47a3cc68fc52 Lukas Czerner 2021-10-27  2058  EXT4_SET_CTX(mount_opt2);
e3952fcce1aad9 Lukas Czerner 2022-02-01  2059  EXT4_CLEAR_CTX(mount_opt2);
e3952fcce1aad9 Lukas Czerner 2022-02-01  2060  EXT4_TEST_CTX(mount_opt2);
e3952fcce1aad9 Lukas Czerner 2022-02-01  2061  

:::::: The code at line 2054 was first introduced by commit
:::::: e3952fcce1aad934f1322843b564ff86256444b2 ext4: fix remount with 'abort' option

:::::: TO: Lukas Czerner <lczerner@redhat.com>
:::::: CC: Theodore Ts'o <tytso@mit.edu>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-30 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 19:03 fs/ext4/super.c:2054:1: error: unused function 'ctx_set_flags' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox