Philippe Mathieu-Daudé
ee0f3c09e0
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>
2020-02-18 20:20:49 +01:00
..
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2019-12-16 10:59:50 -05:00
2020-02-18 20:20:49 +01:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2019-11-19 10:00:36 +01:00
2020-02-13 11:31:58 +01:00
2020-01-21 15:26:09 -10:00
2020-02-03 10:46:32 +00:00
2019-12-17 19:36:57 +01:00
2020-02-13 13:40:59 +00:00
2020-02-07 15:15:16 +01:00
2019-11-06 13:28:27 +01:00
2020-01-13 16:42:20 +00:00
2020-02-07 15:12:48 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:15:16 +01:00
2020-02-07 15:12:48 +01:00
2020-01-23 16:41:36 +00:00
2020-02-07 15:15:16 +01:00