Re: [Qemu-block] [PATCH v6 2/6] qapi/qlist: Add qlist_append_null() macro

2017-10-05 Thread Alberto Garcia
On Wed 04 Oct 2017 05:25:49 PM CEST, Max Reitz wrote: > Besides the macro itself, this patch also adds a corresponding > Coccinelle rule. > > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto

Re: [Qemu-block] [PATCH v6 2/6] qapi/qlist: Add qlist_append_null() macro

2017-10-04 Thread Eric Blake
On 10/04/2017 10:25 AM, Max Reitz wrote: > Besides the macro itself, this patch also adds a corresponding > Coccinelle rule. > > Signed-off-by: Max Reitz > --- > include/qapi/qmp/qlist.h | 3 +++ > scripts/coccinelle/qobject.cocci | 3 +++ > 2 files changed, 6

[Qemu-block] [PATCH v6 2/6] qapi/qlist: Add qlist_append_null() macro

2017-10-04 Thread Max Reitz
Besides the macro itself, this patch also adds a corresponding Coccinelle rule. Signed-off-by: Max Reitz --- include/qapi/qmp/qlist.h | 3 +++ scripts/coccinelle/qobject.cocci | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/qapi/qmp/qlist.h