All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:vectorized-scrub 242/346] fs/xfs/xfs_trace.c:52 xfs_btree_crack_agno_opdev() warn: bitwise AND condition is false here
@ 2022-03-18 17:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-18 17:46 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3043 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
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:   37f1eaa855b8115b247530a5e8081189a09db2de
commit: c42b1a06786a60b83b0a4eff298255977355329b [242/346] xfs: widen xfs_rmap_irec fields to handle realtime rmapbt
:::::: branch date: 20 hours ago
:::::: commit date: 20 hours ago
config: openrisc-randconfig-m031-20220317 (https://download.01.org/0day-ci/archive/20220319/202203190133.RsXMt3pF-lkp(a)intel.com/config)
compiler: or1k-linux-gcc (GCC) 11.2.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  
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  46  static inline void
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  47  xfs_btree_crack_agno_opdev(
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  48  	struct xfs_btree_cur	*cur,
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  49  	xfs_agnumber_t		*agno,
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  50  	dev_t			*opdev)
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  51  {
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06 @52  	if (cur->bc_flags & XFS_BTREE_IN_MEMORY) {
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  53  		*agno = 0;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  54  		*opdev = xfbtree_target(cur->bc_mem.xfbtree)->bt_dev;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  55  	} else if (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) {
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  56  		*agno = 0;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  57  		*opdev = cur->bc_mp->m_rtdev_targp->bt_dev;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  58  	} else {
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  59  		*agno = cur->bc_ag.pag->pag_agno;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  60  		*opdev = cur->bc_mp->m_super->s_dev;
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  61  	}
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  62  }
c42b1a06786a60 fs/xfs/xfs_trace.c           Darrick J. Wong   2022-01-06  63  

---
0-DAY CI Kernel Test Service
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-03-18 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18 17:46 [djwong-xfs:vectorized-scrub 242/346] 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.