diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-18 10:43:50 +0100 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2020-02-18 20:20:49 +0100 |
| commit | ee0f3c09e01699d34ba090a80c321d39c58a0556 (patch) | |
| tree | 1eaa57844c8cbc786473d2c2b0a214e3b85b8384 /scripts/qapi/source.py | |
| parent | b09d51c9098adec9c83cc0d8332d03e052844a9f (diff) | |
| download | focaccia-qemu-ee0f3c09e01699d34ba090a80c321d39c58a0556.tar.gz focaccia-qemu-ee0f3c09e01699d34ba090a80c321d39c58a0556.zip | |
scripts/checkpatch.pl: Detect superfluous semicolon in C code
Display error when a commit contains superfluous semicolon: $ git show 6663a0a3376 | scripts/checkpatch.pl -q - ERROR: superfluous trailing semicolon #276: FILE: block/io_uring.c:186: + ret = -ENOSPC;; total: 1 errors, 1 warnings, 485 lines checked Reported-by: Luc Michel <luc.michel@greensocs.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Luc Michel <luc.michel@greensocs.com> Message-Id: <20200218094402.26625-2-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions