From: Markus Armbruster <armbru@redhat.com>
To: "Fangyi (C)" <bruce.fon@huawei.com>
Cc: famz@redhat.com, stefanha@redhat.com, kathy.wangting@huawei.com,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
boby.chen@huawei.com, Paolo Bonzini <pbonzini@redhat.com>,
rudy.zhangmin@huawei.com, wu.wubin@huawei.com
Subject: Re: [Qemu-devel] [PATCH] nbd: Fix overflow return value
Date: Mon, 02 Mar 2015 10:48:05 +0100 [thread overview]
Message-ID: <8761ajivca.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <54F3BC0A.4010209@huawei.com> (Fangyi's message of "Mon, 2 Mar 2015 09:25:30 +0800")
"Fangyi (C)" <bruce.fon@huawei.com> writes:
> PING
Please drop this line, it doesn't belong to the commit message.
You copied a bunch of people, but forgot the maintainer:
$ scripts/get_maintainer.pl -f nbd.c
Paolo Bonzini <pbonzini@redhat.com> (odd fixer:Network Block Dev...)
I fixed that for you.
> The value of reply.error should be the type unsigned int.
>
> Signed-off-by: Yik Fang <eric.fangyi@huawei.com>
> ---
> nbd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nbd.c b/nbd.c
> index e56afbc1..30e2f3b 100644
> --- a/nbd.c
> +++ b/nbd.c
> @@ -1295,7 +1295,7 @@ static void nbd_trip(void *opaque)
> default:
> LOG("invalid request type (%u) received", request.type);
> invalid_request:
> - reply.error = -EINVAL;
> + reply.error = EINVAL;
> error_reply:
> if (nbd_co_send_reply(req, &reply, 0) < 0) {
> goto out;
> -- 1.8.5
next prev parent reply other threads:[~2015-03-02 9:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-12 6:21 [Qemu-devel] [PATCH] nbd: Fix overflow return value Yik Fang
2015-02-12 7:38 ` Fam Zheng
2015-03-02 1:25 ` Fangyi (C)
2015-03-02 9:48 ` Markus Armbruster [this message]
2015-03-09 2:16 ` Yik Fang
2015-03-11 1:27 ` Yik Fang
2015-03-11 11:39 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761ajivca.fsf@blackfin.pond.sub.org \
--to=armbru@redhat.com \
--cc=boby.chen@huawei.com \
--cc=bruce.fon@huawei.com \
--cc=famz@redhat.com \
--cc=kathy.wangting@huawei.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rudy.zhangmin@huawei.com \
--cc=stefanha@redhat.com \
--cc=wu.wubin@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.