Re: [Qemu-devel] [PATCH] nbd: Fix overflow return value

2015-03-11 Thread Yik Fang
Paolo, Can you have a look at this patch, and give me some advices? Regards, Yik Fang 转发的消息 主题: Re: [Qemu-devel] [PATCH] nbd: Fix overflow return value 日期: Mon, 9 Mar 2015 10:16:07 +0800 发件人: Yik Fang 收件人: arm...@redhat.com, qemu-devel@nongnu.org 抄送: pbonz...@redhat.com

Re: [Qemu-devel] [PATCH] nbd: Fix overflow return value

2015-03-08 Thread Yik Fang
Thanks to Markus for your help! On 2015/3/2 9:25, Fangyi (C) wrote: PING The value of reply.error should be the type unsigned int. Signed-off-by: Yik Fang --- 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

[Qemu-devel] [PATCH] nbd: Fix overflow return value

2015-02-11 Thread Yik Fang
The value of reply.error should be the type unsigned int. Signed-off-by: Yik Fang --- 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