On Tue, 2021-11-02 at 18:10 +0100, Michal Privoznik wrote:
I've been playing with cocci lately and noticed it had troubles
parsing
some files. When I looked into them I had trouble parsing them as
well.
Michal Prívozník (5):
node_device_conf: Bring variables into loops
virpcivpd: Bring variables into loops
virpcivpdtest: Declare variables at multiple lines
lib: Use G_N_ELEMENTS instead of sizeof()/sizeof()
scripts: Properly declare g_auto() stub for cocci
scripts/cocci-macro-file.h | 2 +-
src/conf/node_device_conf.c | 46 +++++++++++++-------------------
--
src/libxl/libxl_capabilities.c | 2 +-
src/util/virpcivpd.c | 19 +++-----------
tests/virpcimock.c | 2 +-
tests/virpcivpdtest.c | 29 ++++++++++-----------
6 files changed, 39 insertions(+), 61 deletions(-)
Reviewed-by: Tim Wiederhake <twiederh(a)redhat.com>