Hi Hannes, [auto build test ERROR on v4.4-rc8] [also build test ERROR on next-20160119] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/Abort-pending-request-for-RAID10/20160119-165822 config: x86_64-randconfig-x012-01180513 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:4:0, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/linux/mmdebug.h:4, from include/linux/gfp.h:4, from include/linux/slab.h:14, from drivers/md/raid10.c:21: drivers/md/raid10.c: In function 'flush_pending_writes': >> drivers/md/raid10.c:884:18: error: 'Timeout' undeclared (first use in this function) if (test_bit(Timeout, &rdev->flags)) ^ include/linux/compiler.h:147:28: note: in definition of macro '__trace_if' if (__builtin_constant_p((cond)) ? !!(cond) : \ ^ >> drivers/md/raid10.c:884:5: note: in expansion of macro 'if' if (test_bit(Timeout, &rdev->flags)) ^ >> drivers/md/raid10.c:884:9: note: in expansion of macro 'test_bit' if (test_bit(Timeout, &rdev->flags)) ^ drivers/md/raid10.c:884:18: note: each undeclared identifier is reported only once for each function it appears in if (test_bit(Timeout, &rdev->flags)) ^ include/linux/compiler.h:147:28: note: in definition of macro '__trace_if' if (__builtin_constant_p((cond)) ? !!(cond) : \ ^ >> drivers/md/raid10.c:884:5: note: in expansion of macro 'if' if (test_bit(Timeout, &rdev->flags)) ^ >> drivers/md/raid10.c:884:9: note: in expansion of macro 'test_bit' if (test_bit(Timeout, &rdev->flags)) ^ drivers/md/raid10.c: In function 'raid10_unplug': drivers/md/raid10.c:1077:17: error: 'Timeout' undeclared (first use in this function) if (test_bit(Timeout, &rdev->flags)) ^ include/linux/compiler.h:147:28: note: in definition of macro '__trace_if' if (__builtin_constant_p((cond)) ? !!(cond) : \ ^ drivers/md/raid10.c:1077:4: note: in expansion of macro 'if' if (test_bit(Timeout, &rdev->flags)) ^ drivers/md/raid10.c:1077:8: note: in expansion of macro 'test_bit' if (test_bit(Timeout, &rdev->flags)) ^ vim +/Timeout +884 drivers/md/raid10.c 878 } 879 if (unlikely((bio->bi_rw & REQ_DISCARD) && 880 !blk_queue_discard(bdev_get_queue(bio->bi_bdev)))) 881 /* Just ignore it */ 882 bio_endio(bio); 883 else if (test_bit(Faulty, &rdev->flags)) { > 884 if (test_bit(Timeout, &rdev->flags)) 885 bio->bi_error = -ETIMEDOUT; 886 else 887 bio->bi_error = -EIO; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data