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
On 12/02/2015 07:21, Yik Fang wrote:
> 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
> @@ -
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
"Fangyi (C)" 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 (odd fixer:Network Block Dev...)
I fixed that for you.
> The value of reply.error should b
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
+++ b/nbd.c
@@ -1295,7 +1295,7 @@ static void nbd_trip(void *opaque)
On Thu, 02/12 06:21, Yik Fang wrote:
> 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
> @@ -12
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)
defau