On 03/20/2017 01:05 PM, kbuild test robot wrote:
Hi Guoqing,
[auto build test ERROR on next-20170310]
[also build test ERROR on v4.11-rc3]
[cannot apply to md/for-next v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Guoqing-Jiang/md-raid10-refactor-some-codes-from-raid10_write_request/20170320-124148
config: x86_64-randconfig-x004-201712 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/md/raid10.c: In function 'raid10_write_one_disk':
drivers/md/raid10.c:1203:29: error: 'i' undeclared (first use in this function)
int devnum = r10_bio->devs[i].devnum;
^
drivers/md/raid10.c:1203:29: note: each undeclared identifier is reported only once for each function it appears in
vim +/i +1203 drivers/md/raid10.c
1197 const unsigned long do_fua = (bio->bi_opf & REQ_FUA);
1198 unsigned long flags;
1199 struct blk_plug_cb *cb;
1200 struct raid10_plug_cb *plug = NULL;
1201 struct r10conf *conf = mddev->private;
1202 struct md_rdev *rdev;
1203 int devnum = r10_bio->devs[i].devnum;
Oops, I forgot to compile it, :-
Thanks,
Guoqing
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html