[djwong-xfs:vectorized-scrub 109/367] fs/xfs/xfs_trans_dquot.c:125:1: warning: useless storage class specifier in empty declaration

From: kernel test robot
Date: Tue Jun 07 2022 - 02:13:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head: 879e09570c469d3320e25aa7f625ded1a2f5c24e
commit: 1cbf9e08546faaae7fcfad46d0d24707c55ced16 [109/367] xfs: track quota updates during live quotacheck
config: alpha-buildonly-randconfig-r010-20220605 (https://download.01.org/0day-ci/archive/20220607/202206071421.f4Lllet7-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=1cbf9e08546faaae7fcfad46d0d24707c55ced16
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs vectorized-scrub
git checkout 1cbf9e08546faaae7fcfad46d0d24707c55ced16
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash fs/xfs/

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

All warnings (new ones prefixed by >>):

>> fs/xfs/xfs_trans_dquot.c:125:1: warning: useless storage class specifier in empty declaration
125 | static XFS_HOOKS_SWITCH_DEFINE(xfs_dqtrx_hooks_switch);
| ^~~~~~
>> fs/xfs/xfs_trans_dquot.c:125:1: warning: empty declaration


vim +125 fs/xfs/xfs_trans_dquot.c

123
124 #ifdef CONFIG_XFS_LIVE_HOOKS
> 125 static XFS_HOOKS_SWITCH_DEFINE(xfs_dqtrx_hooks_switch);
126

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