tree: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git xfs-5.9-merge head: 9f347d7a7e0ee9b12434b9ef0ccac3a2680960de commit: 534c7e150352361b2660ee3ea87ce91d3138d74d [112/116] xfs: Add helper function xfs_attr_node_removename_setup config: x86_64-rhel-7.6-kselftests (attached as .config) compiler: gcc-9 (Debian 9.3.0-14) 9.3.0 reproduce (this is a W=1 build): git checkout 534c7e150352361b2660ee3ea87ce91d3138d74d # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): fs/xfs/libxfs/xfs_attr.c: In function 'xfs_attr_node_removename_setup': >> fs/xfs/libxfs/xfs_attr.c:1181:27: warning: variable 'blk' set but not used [-Wunused-but-set-variable] 1181 | struct xfs_da_state_blk *blk; | ^~~ vim +/blk +1181 fs/xfs/libxfs/xfs_attr.c 1169 1170 /* 1171 * Initial setup for xfs_attr_node_removename. Make sure the attr is there and 1172 * the blocks are valid. Attr keys with remote blocks will be marked 1173 * incomplete. 1174 */ 1175 STATIC 1176 int xfs_attr_node_removename_setup( 1177 struct xfs_da_args *args, 1178 struct xfs_da_state **state) 1179 { 1180 int error; > 1181 struct xfs_da_state_blk *blk; 1182 1183 error = xfs_attr_node_hasname(args, state); 1184 if (error != -EEXIST) 1185 return error; 1186 1187 blk = &(*state)->path.blk[(*state)->path.active - 1]; 1188 ASSERT(blk->bp != NULL); 1189 ASSERT(blk->magic == XFS_ATTR_LEAF_MAGIC); 1190 1191 if (args->rmtblkno > 0) { 1192 error = xfs_attr_leaf_mark_incomplete(args, *state); 1193 if (error) 1194 return error; 1195 1196 return xfs_attr_rmtval_invalidate(args); 1197 } 1198 1199 return 0; 1200 } 1201 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip