All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:fscrypt-pending 21/22] fs/crypto/block.c:361:17: sparse: sparse: cast from restricted blk_status_t
@ 2026-06-24 11:20 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-24 11:20 UTC (permalink / raw)
  To: Eric Biggers; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git fscrypt-pending
head:   458617e964eabfd201862b2ebdc538e7906ddf15
commit: db7c0e5b6866c3230c97157ddf48e548f6ae476b [21/22] fscrypt: Merge bio.c and inline_crypt.c into block.c
config: parisc-randconfig-r121-20260624 (https://download.01.org/0day-ci/archive/20260624/202606241906.ozL5jpWr-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606241906.ozL5jpWr-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/202606241906.ozL5jpWr-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> fs/crypto/block.c:361:17: sparse: sparse: cast from restricted blk_status_t
>> fs/crypto/block.c:361:17: sparse: sparse: cast from restricted blk_status_t
>> fs/crypto/block.c:361:17: sparse: sparse: cast to restricted blk_status_t

vim +361 fs/crypto/block.c

   355	
   356	static void fscrypt_zeroout_range_end_io(struct bio *bio)
   357	{
   358		struct fscrypt_zero_done *done = bio->bi_private;
   359	
   360		if (bio->bi_status)
 > 361			cmpxchg(&done->status, 0, bio->bi_status);
   362		fscrypt_zeroout_range_done(done);
   363		bio_put(bio);
   364	}
   365	

--
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-06-24 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 11:20 [ebiggers:fscrypt-pending 21/22] fs/crypto/block.c:361: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.