Re: [Qemu-devel] [PATCH] scsi: Don't check uninitialized local variable

2018-01-09 Thread Eric Blake
On 01/09/2018 12:05 PM, Paolo Bonzini wrote: > On 08/01/2018 04:09, Fam Zheng wrote: >> After the out label there is a check on iTask.task but it is not >> initialized yet. >> >> Fixes: e38bc23454ef763deb4405ebdee6a1081aa00bc8 >> Signed-off-by: Fam Zheng >> --- >> block/iscsi.c | 3 +-- >> 1 file

Re: [Qemu-devel] [PATCH] scsi: Don't check uninitialized local variable

2018-01-09 Thread Paolo Bonzini
On 08/01/2018 04:09, Fam Zheng wrote: > After the out label there is a check on iTask.task but it is not > initialized yet. > > Fixes: e38bc23454ef763deb4405ebdee6a1081aa00bc8 > Signed-off-by: Fam Zheng > --- > block/iscsi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --g

Re: [Qemu-devel] [PATCH] scsi: Don't check uninitialized local variable

2018-01-08 Thread Eric Blake
On 01/08/2018 07:20 AM, Peter Lieven wrote: > Am 08.01.2018 um 04:09 schrieb Fam Zheng: >> After the out label there is a check on iTask.task but it is not >> initialized yet. >> >> Fixes: e38bc23454ef763deb4405ebdee6a1081aa00bc8 >> Signed-off-by: Fam Zheng >> --- >>   block/iscsi.c | 3 +-- >>   1

Re: [Qemu-devel] [PATCH] scsi: Don't check uninitialized local variable

2018-01-08 Thread Peter Lieven
Am 08.01.2018 um 04:09 schrieb Fam Zheng: After the out label there is a check on iTask.task but it is not initialized yet. Fixes: e38bc23454ef763deb4405ebdee6a1081aa00bc8 Signed-off-by: Fam Zheng --- block/iscsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/i

[Qemu-devel] [PATCH] scsi: Don't check uninitialized local variable

2018-01-07 Thread Fam Zheng
After the out label there is a check on iTask.task but it is not initialized yet. Fixes: e38bc23454ef763deb4405ebdee6a1081aa00bc8 Signed-off-by: Fam Zheng --- block/iscsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index 5c0a9e55b6..1cb8c