static int io_nop(struct io_kiocb *req, unsigned int issue_flags)
{
	unsigned int cflags;
	void __user *buf;

	if (req->flags & REQ_F_BUFFER_SELECT) {
		size_t len = 1;

		buf = io_buffer_select(req, &len, issue_flags);
		if (!buf)
			return -ENOBUFS;
	}

	cflags = io_put_kbuf(req, issue_flags);
	if (!(req->ctx->flags & IORING_SETUP_CQE32))
		__io_req_complete(req, issue_flags, 0, cflags);
	else
		__io_req_complete32(req, issue_flags, 0, cflags,
				    req->nop.extra1, req->nop.extra2);
	return 0;
}
static int io_nop(struct io_kiocb *req, unsigned int issue_flags)
{
	unsigned int cflags;
	void __user *buf;

	if (req->flags & REQ_F_BUFFER_SELECT) {
		size_t len = 1;

		buf = io_buffer_select(req, &len, issue_flags);
		if (!buf)
			return -ENOBUFS;
	}

	cflags = io_put_kbuf(req, issue_flags);
	if (!(req->ctx->flags & IORING_SETUP_CQE32))
		__io_req_complete(req, issue_flags, 0, cflags);
	else
		__io_req_complete32(req, issue_flags, 0, cflags,
				    req->nop.extra1, req->nop.extra2);
	return 0;
}