* [djwong-xfs:vectorized-scrub 224/327] fs/xfs/xfs_trace.c:52 xfs_btree_crack_agno_opdev() warn: bitwise AND condition is false here
@ 2022-01-01 8:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-01 8:02 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3040 bytes --]
CC: kbuild-all(a)lists.01.org
CC: "Darrick J. Wong" <darrick.wong@oracle.com>
CC: linux-kernel(a)vger.kernel.org
TO: "Darrick J. Wong" <djwong@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head: 7bd5ed813c460c39b9ed735852970905ad0a633b
commit: fd8343d07120e92935e46b6fcad1301377c0219f [224/327] xfs: widen xfs_rmap_irec fields to handle realtime rmapbt
:::::: branch date: 13 hours ago
:::::: commit date: 13 hours ago
config: x86_64-randconfig-m001-20220101 (https://download.01.org/0day-ci/archive/20220101/202201011542.eNvmpkrU-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
fs/xfs/xfs_trace.c:52 xfs_btree_crack_agno_opdev() warn: bitwise AND condition is false here
vim +52 fs/xfs/xfs_trace.c
0b1b213fcf3a84 fs/xfs/linux-2.6/xfs_trace.c Christoph Hellwig 2009-12-14 45
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 46 static inline void
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 47 xfs_btree_crack_agno_opdev(
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 48 struct xfs_btree_cur *cur,
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 49 xfs_agnumber_t *agno,
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 50 dev_t *opdev)
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 51 {
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 @52 if (cur->bc_flags & XFS_BTREE_IN_MEMORY) {
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 53 *agno = 0;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 54 *opdev = xfbtree_target(cur->bc_mem.xfbtree)->bt_dev;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 55 } else if (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) {
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 56 *agno = 0;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 57 *opdev = cur->bc_mp->m_rtdev_targp->bt_dev;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 58 } else {
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 59 *agno = cur->bc_ag.pag->pag_agno;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 60 *opdev = cur->bc_mp->m_super->s_dev;
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 61 }
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 62 }
fd8343d07120e9 fs/xfs/xfs_trace.c Darrick J. Wong 2021-09-01 63
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-01 8:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-01 8:02 [djwong-xfs:vectorized-scrub 224/327] fs/xfs/xfs_trace.c:52 xfs_btree_crack_agno_opdev() warn: bitwise AND condition is false here kernel test robot
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.