]> Git Repo - qemu.git/commit
scripts/checkpatch.pl: Detect superfluous semicolon in C code
authorPhilippe Mathieu-Daudé <[email protected]>
Tue, 18 Feb 2020 09:43:50 +0000 (10:43 +0100)
committerLaurent Vivier <[email protected]>
Tue, 18 Feb 2020 19:20:49 +0000 (20:20 +0100)
commitee0f3c09e01699d34ba090a80c321d39c58a0556
tree1eaa57844c8cbc786473d2c2b0a214e3b85b8384
parentb09d51c9098adec9c83cc0d8332d03e052844a9f
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 <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Reviewed-by: Luc Michel <[email protected]>
Message-Id: <20200218094402[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
scripts/checkpatch.pl
This page took 0.025146 seconds and 4 git commands to generate.