tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.6/io_uring head: fd4be9bbc3f977f9e89056b93e0c6b1249a0ae0f commit: fd4be9bbc3f977f9e89056b93e0c6b1249a0ae0f [45/45] io_uring: add IORING_OP_MADVISE config: x86_64-randconfig-b001-20191225 (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: git checkout fd4be9bbc3f977f9e89056b93e0c6b1249a0ae0f # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): ld: fs/io_uring.o: in function `io_madvise': >> fs/io_uring.c:2475: undefined reference to `do_madvise' vim +2475 fs/io_uring.c 2465 2466 static int io_madvise(struct io_kiocb *req, struct io_kiocb **nxt, 2467 bool force_nonblock) 2468 { 2469 struct io_fadvise *fa = &req->fadvise; 2470 int ret; 2471 2472 if (force_nonblock) 2473 return -EAGAIN; 2474 > 2475 ret = do_madvise(fa->addr, fa->len, fa->advice); 2476 if (ret < 0) 2477 req_set_fail_links(req); 2478 io_cqring_add_event(req, ret); 2479 io_put_req_find_next(req, nxt); 2480 return 0; 2481 } 2482 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation