All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:xfile-page-caching 79/172] fs/xfs/xfs_buf.c:2510 xfs_buftarg_nr_sectors() warn: bitwise AND condition is false here
@ 2023-10-23 17:32 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-10-23 17:32 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Darrick J. Wong" <darrick.wong@oracle.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git xfile-page-caching
head:   b906f6a9d64e5a914bcc5e69a08dd27e99361afd
commit: 1d653b15c5c24f675006eec7c6de006178499674 [79/172] xfs: support in-memory btrees
:::::: branch date: 12 days ago
:::::: commit date: 12 days ago
config: i386-randconfig-141-20231022 (https://download.01.org/0day-ci/archive/20231024/202310240135.X5AcqWdg-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231024/202310240135.X5AcqWdg-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202310240135.X5AcqWdg-lkp@intel.com/

New smatch warnings:
fs/xfs/xfs_buf.c:2510 xfs_buftarg_nr_sectors() warn: bitwise AND condition is false here

Old smatch warnings:
fs/xfs/xfs_buf.c:748 xfs_buf_get_map() error: we previously assumed 'bp' could be null (see line 730)
fs/xfs/xfs_buf.c:1641 _xfs_buf_ioapply() warn: bitwise AND condition is false here
fs/xfs/xfs_buf.c:2017 xfs_free_buftarg() warn: bitwise AND condition is false here

vim +2510 fs/xfs/xfs_buf.c

1d653b15c5c24f Darrick J. Wong 2023-03-06  2504  
1d653b15c5c24f Darrick J. Wong 2023-03-06  2505  /* Return the number of sectors for a buffer target. */
1d653b15c5c24f Darrick J. Wong 2023-03-06  2506  xfs_daddr_t
1d653b15c5c24f Darrick J. Wong 2023-03-06  2507  xfs_buftarg_nr_sectors(
1d653b15c5c24f Darrick J. Wong 2023-03-06  2508  	struct xfs_buftarg	*btp)
1d653b15c5c24f Darrick J. Wong 2023-03-06  2509  {
1d653b15c5c24f Darrick J. Wong 2023-03-06 @2510  	if (btp->bt_flags & XFS_BUFTARG_XFILE)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [djwong-xfs:xfile-page-caching 79/172] fs/xfs/xfs_buf.c:2510 xfs_buftarg_nr_sectors() warn: bitwise AND condition is false here
@ 2023-10-26 16:08 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-10-26 16:08 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Dan Carpenter

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Darrick J. Wong" <darrick.wong@oracle.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git xfile-page-caching
head:   b906f6a9d64e5a914bcc5e69a08dd27e99361afd
commit: 1d653b15c5c24f675006eec7c6de006178499674 [79/172] xfs: support in-memory btrees
:::::: branch date: 2 weeks ago
:::::: commit date: 2 weeks ago
config: i386-randconfig-141-20231022 (https://download.01.org/0day-ci/archive/20231026/202310262346.K6ZI5YGa-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231026/202310262346.K6ZI5YGa-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202310262346.K6ZI5YGa-lkp@intel.com/

New smatch warnings:
fs/xfs/xfs_buf.c:2510 xfs_buftarg_nr_sectors() warn: bitwise AND condition is false here

Old smatch warnings:
fs/xfs/xfs_buf.c:748 xfs_buf_get_map() error: we previously assumed 'bp' could be null (see line 730)
fs/xfs/xfs_buf.c:1641 _xfs_buf_ioapply() warn: bitwise AND condition is false here
fs/xfs/xfs_buf.c:2017 xfs_free_buftarg() warn: bitwise AND condition is false here

vim +2510 fs/xfs/xfs_buf.c

1d653b15c5c24f Darrick J. Wong 2023-03-06  2504  
1d653b15c5c24f Darrick J. Wong 2023-03-06  2505  /* Return the number of sectors for a buffer target. */
1d653b15c5c24f Darrick J. Wong 2023-03-06  2506  xfs_daddr_t
1d653b15c5c24f Darrick J. Wong 2023-03-06  2507  xfs_buftarg_nr_sectors(
1d653b15c5c24f Darrick J. Wong 2023-03-06  2508  	struct xfs_buftarg	*btp)
1d653b15c5c24f Darrick J. Wong 2023-03-06  2509  {
1d653b15c5c24f Darrick J. Wong 2023-03-06 @2510  	if (btp->bt_flags & XFS_BUFTARG_XFILE)

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-26 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 17:32 [djwong-xfs:xfile-page-caching 79/172] fs/xfs/xfs_buf.c:2510 xfs_buftarg_nr_sectors() warn: bitwise AND condition is false here kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2023-10-26 16:08 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.