tree:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
refactor-log-recovery
head: 2dcdc305cfc2b8b1beee483cf8ae5c674d9fac86
commit: 57b679192e2b6a42fdae3dc832607fdaad24d21c [278/314] xfs: prepare rmap functions to
deal with rtrmapbt
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
cppcheck warnings: (new ones prefixed by >>)
> fs/xfs/libxfs/xfs_rmap.c:41:23: warning: Same value in both
branches of ternary operator. [duplicateValueTernary]
XFS_RTRMAP_LEN_MAX :
XFS_RMAP_LEN_MAX;
^
vim +41 fs/xfs/libxfs/xfs_rmap.c
34
35 /* Return the maximum length of an rmap record. */
36 static xfs_filblks_t
37 xfs_rmap_len_max(
38 struct xfs_btree_cur *cur)
39 {
40 return (cur->bc_flags & XFS_BTREE_LONG_PTRS) ?
41 XFS_RTRMAP_LEN_MAX : XFS_RMAP_LEN_MAX;
42 }
43
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org