* [hch-misc:block-error-injection 3/7] block/blk-core.c:545:45: error: 'BD_MAKE_IT_FAIL' undeclared
@ 2026-05-31 19:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-31 19:55 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: oe-kbuild-all
tree: git://git.infradead.org/users/hch/misc.git block-error-injection
head: f7d922716d709e96c39fc2a0ebc67eac84deb06d
commit: 31905bce1e3e0c7d6b853dc916a0f64fdec2673e [3/7] block: refactor should_fail_bio and should_fail_request
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20260601/202606010341.ZynlUP5R-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260601/202606010341.ZynlUP5R-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/202606010341.ZynlUP5R-lkp@intel.com/
All errors (new ones prefixed by >>):
block/blk-core.c: In function 'may_fail_bio':
>> block/blk-core.c:545:45: error: 'BD_MAKE_IT_FAIL' undeclared (first use in this function)
545 | return bdev_test_flag(bio->bi_bdev, BD_MAKE_IT_FAIL) ||
| ^~~~~~~~~~~~~~~
block/blk-core.c:545:45: note: each undeclared identifier is reported only once for each function it appears in
vim +/BD_MAKE_IT_FAIL +545 block/blk-core.c
540
541 static inline bool may_fail_bio(struct bio *bio)
542 {
543 if (!IS_ENABLED(CONFIG_FAIL_MAKE_REQUEST))
544 return false;
> 545 return bdev_test_flag(bio->bi_bdev, BD_MAKE_IT_FAIL) ||
546 (bio_flagged(bio, BIO_REMAPPED) &&
547 bdev_test_flag(bdev_whole(bio->bi_bdev), BD_MAKE_IT_FAIL));
548 }
549
--
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-05-31 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-31 19:55 [hch-misc:block-error-injection 3/7] block/blk-core.c:545:45: error: 'BD_MAKE_IT_FAIL' undeclared 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.