All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chao Yu <yuchao0@huawei.com>, Chao Yu <chao@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Chao Yu <yuchao0@huawei.com>,
	Chao Yu <chao@kernel.org>
Subject: [chao:feature/fs_param 1/1] fs/f2fs/super.c:191:1: warning: useless storage class specifier in empty declaration
Date: Fri, 1 Mar 2024 03:08:20 +0800	[thread overview]
Message-ID: <202403010309.aFEdK2Lb-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git feature/fs_param
head:   d4eac172f8f9f4594056366859b67e589e6124c3
commit: d4eac172f8f9f4594056366859b67e589e6124c3 [1/1] [WIP] f2fs: use new fs_context interface
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20240301/202403010309.aFEdK2Lb-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240301/202403010309.aFEdK2Lb-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/202403010309.aFEdK2Lb-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/f2fs/super.c:191:1: warning: useless storage class specifier in empty declaration
     191 | };
         | ^
   fs/f2fs/super.c: In function 'f2fs_fill_super':
>> fs/f2fs/super.c:3973:33: warning: unused variable 'ctx' [-Wunused-variable]
    3973 |         struct f2fs_fs_context *ctx = fc->fs_private;
         |                                 ^~~
   fs/f2fs/super.c: In function 'f2fs_parse_param':
>> fs/f2fs/super.c:888:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     888 |                 if (!f2fs_readonly(sbi->sb))
         |                    ^
   fs/f2fs/super.c:891:9: note: here
     891 |         case Opt_usrjquota:
         |         ^~~~
   fs/f2fs/super.c: At top level:
>> fs/f2fs/super.c:808:12: warning: 'f2fs_set_zstd_level' defined but not used [-Wunused-function]
     808 | static int f2fs_set_zstd_level(struct f2fs_sb_info *sbi, const char *str)
         |            ^~~~~~~~~~~~~~~~~~~
>> fs/f2fs/super.c:770:12: warning: 'f2fs_set_lz4hc_level' defined but not used [-Wunused-function]
     770 | static int f2fs_set_lz4hc_level(struct f2fs_sb_info *sbi, const char *str)
         |            ^~~~~~~~~~~~~~~~~~~~
>> fs/f2fs/super.c:709:13: warning: 'is_compress_extension_exist' defined but not used [-Wunused-function]
     709 | static bool is_compress_extension_exist(struct f2fs_sb_info *sbi,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +191 fs/f2fs/super.c

   186	
   187	static const struct mount_opts {
   188		int	token;
   189		int	opt;
   190		int	flags;
 > 191	};
   192	

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

                 reply	other threads:[~2024-02-29 19:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202403010309.aFEdK2Lb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chao@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yuchao0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.