* fs/crypto/bio.c:67:17: sparse: sparse: cast from restricted blk_status_t
@ 2026-06-22 17:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-22 17:23 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: oe-kbuild-all, linux-kernel, Jens Axboe, Eric Biggers
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ef0c9f75a19532d7675384708fc8621e10850104
commit: bc26e2efa2c5bb9289fa894834446840dea0bc31 fscrypt: keep multiple bios in flight in fscrypt_zeroout_range_inline_crypt
date: 5 months ago
config: arm-randconfig-r121-20260622 (https://download.01.org/0day-ci/archive/20260623/202606230102.bgOhUw2D-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260623/202606230102.bgOhUw2D-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
| Fixes: bc26e2efa2c5 ("fscrypt: keep multiple bios in flight in fscrypt_zeroout_range_inline_crypt")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606230102.bgOhUw2D-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> fs/crypto/bio.c:67:17: sparse: sparse: cast from restricted blk_status_t
fs/crypto/bio.c:67:17: sparse: sparse: cast to restricted blk_status_t
>> fs/crypto/bio.c:67:17: sparse: sparse: cast from restricted blk_status_t
fs/crypto/bio.c:67:17: sparse: sparse: cast to restricted blk_status_t
vim +67 fs/crypto/bio.c
61
62 static void fscrypt_zeroout_range_end_io(struct bio *bio)
63 {
64 struct fscrypt_zero_done *done = bio->bi_private;
65
66 if (bio->bi_status)
> 67 cmpxchg(&done->status, 0, bio->bi_status);
68 fscrypt_zeroout_range_done(done);
69 bio_put(bio);
70 }
71
--
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-22 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 17:23 fs/crypto/bio.c:67:17: sparse: sparse: cast from restricted blk_status_t kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome