From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [djwong-xfs:vectorized-scrub 224/327] fs/xfs/xfs_trace.c:52 xfs_btree_crack_agno_opdev() warn: bitwise AND condition is false here
Date: Sat, 01 Jan 2022 16:02:18 +0800 [thread overview]
Message-ID: <202201011542.eNvmpkrU-lkp@intel.com> (raw)
[-- 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
reply other threads:[~2022-01-01 8:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201011542.eNvmpkrU-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.