Re: [Qemu-devel] [PATCH 1/6] qemu/queue.h: do not access tqe_prev directly

2018-12-07 Thread Philippe Mathieu-Daudé
On 12/7/18 12:23 AM, Paolo Bonzini wrote: > Use the QTAILQ_IN_USE macro instead, it does the same thing but the next > patch will change it to a different definition. > > Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé > --- > blockdev.c | 2 +- > 1 file changed, 1 insertion(

Re: [Qemu-devel] [PATCH 1/6] qemu/queue.h: do not access tqe_prev directly

2018-12-06 Thread Markus Armbruster
Paolo Bonzini writes: > Use the QTAILQ_IN_USE macro instead, it does the same thing but the next > patch will change it to a different definition. > > Signed-off-by: Paolo Bonzini > --- > blockdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/blockdev.c b/blockdev.c

[Qemu-devel] [PATCH 1/6] qemu/queue.h: do not access tqe_prev directly

2018-12-06 Thread Paolo Bonzini
Use the QTAILQ_IN_USE macro instead, it does the same thing but the next patch will change it to a different definition. Signed-off-by: Paolo Bonzini --- blockdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockdev.c b/blockdev.c index 81f95d920b..7604b2183b 100644 ---