All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-xfs:xfs-rt-flush-fix 3/3] fs/xfs/xfs_log.c:1562:17: sparse: sparse: cast from restricted blk_status_t
@ 2026-09-02  0:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02  0:12 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/hch/xfs xfs-rt-flush-fix
head:   975adfe299516fcbebccd1db4abc0fe48db8d355
commit: a47cbb38387feb0268f1b79e699dfa16aa1235e7 [3/3] xfs: flush multiple device caches in parallel
config: parisc-randconfig-r132-20260902 (https://download.01.org/0day-ci/archive/20260902/202609020822.1RPDKsZq-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260902/202609020822.1RPDKsZq-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>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609020822.1RPDKsZq-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> fs/xfs/xfs_log.c:1562:17: sparse: sparse: cast from restricted blk_status_t
>> fs/xfs/xfs_log.c:1562:17: sparse: sparse: cast from restricted blk_status_t
>> fs/xfs/xfs_log.c:1562:17: sparse: sparse: cast to restricted blk_status_t

vim +1562 fs/xfs/xfs_log.c

  1554	
  1555	static void
  1556	xlog_flush_end_io(
  1557		struct bio		*bio)
  1558	{
  1559		struct xlog_flush_done	*done = bio->bi_private;
  1560	
  1561		if (bio->bi_status)
> 1562			cmpxchg(&done->status, 0, bio->bi_status);
  1563		xlog_flush_done(done);
  1564		bio_put(bio);
  1565	}
  1566	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-02  0:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02  0:12 [hch-xfs:xfs-rt-flush-fix 3/3] fs/xfs/xfs_log.c:1562:17: sparse: sparse: cast from restricted blk_status_t 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.