Skip to content

trivial: Detect and remove superfluous semicolons in C code

Philippe Mathieu-Daudé qemu-arm qemu-devel qemu-trivial 2 versions Applied

Status from this message: Thanks, applied patches 3 and 4 to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/213 patches 34 repliesApplied
  2. v1 posting 1/22 of 13 patches 2 repliesSuperseded

Patches in v1 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/13scripts/checkpatch.pl: Detect superfluous semicolon in C codescripts/checkpatch.pl+5 -03 replies
2/13audio/alsaaudio: Remove superfluous semicolonsaudio/alsaaudio.c+2 -22 replies
3/13block: Remove superfluous semicolonsblock.c+2 -22 replies
4/13block/io_uring: Remove superfluous semicolonblock/io_uring.c+1 -14 replies
5/13hw/arm/xlnx-versal: Remove superfluous semicolonhw/arm/xlnx-versal-virt.c+1 -12 replies
6/13hw/m68k/next-cube: Remove superfluous semicolonhw/m68k/next-cube.c+1 -12 replies
7/13hw/scsi/esp: Remove superfluous semicolonhw/scsi/esp.c+1 -12 replies
8/13hw/vfio/display: Remove superfluous semicolonhw/vfio/display.c+1 -12 replies
9/13migration/multifd: Remove superfluous semicolonmigration/multifd.c+1 -13 replies
10/13ui/input-barrier: Remove superfluous semicolonui/input-barrier.c+1 -12 replies
11/13target/i386/whpx: Remove superfluous semicolontarget/i386/whpx-all.c+1 -13 replies
12/13tests/qtest/libqos/qgraph: Remove superfluous semicolonstests/qtest/libqos/qgraph.c+2 -22 replies
13/13contrib/rdmacm-mux: Remove superfluous semicoloncontrib/rdmacm-mux/main.c+1 -12 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDr. David Alan GilbertStefano GarzarellaJuan QuintelaLuc MichelPaolo BonziniJustin Terry (VM)
SeriesA-b
1/13R-b R-b R-b
2/13R-b R-b
3/13R-b R-b
4/13R-b R-b R-b
5/13R-b R-b
6/13R-b R-b
7/13R-b R-b
8/13R-b R-b
9/13R-b R-b
10/13R-b R-b
11/13R-b R-b R-b
12/13R-b R-b
13/13R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH RESEND 00/13] trivial: Detect and remove superfluous semicolons in C code

Luc noticed a superfluous trailing semicolon:
https://lists.gnu.org/archive/html/qemu-devel/2020-02/msg04593.html

Prevent that by modifying checkpatch.pl and clean the codebase.

Philippe Mathieu-Daudé (13):
scripts/checkpatch.pl: Detect superfluous semicolon in C code audio/alsaaudio: Remove superfluous semicolons
block: Remove superfluous semicolons block/io_uring: Remove superfluous semicolon hw/arm/xlnx-versal: Remove superfluous semicolon hw/m68k/next-cube: Remove superfluous semicolon hw/scsi/esp: Remove superfluous semicolon hw/vfio/display: Remove superfluous semicolon migration/multifd: Remove superfluous semicolon ui/input-barrier: Remove superfluous semicolon target/i386/whpx: Remove superfluous semicolon tests/qtest/libqos/qgraph: Remove superfluous semicolons contrib/rdmacm-mux: Remove superfluous semicolon

 audio/alsaaudio.c           | 4 ++--
 block.c                     | 4 ++--
 block/io_uring.c            | 2 +-
 contrib/rdmacm-mux/main.c   | 2 +-
 hw/arm/xlnx-versal-virt.c   | 2 +-
 hw/m68k/next-cube.c         | 2 +-
 hw/scsi/esp.c               | 2 +-
 hw/vfio/display.c           | 2 +-
 migration/multifd.c         | 2 +-
 target/i386/whpx-all.c      | 2 +-
 tests/qtest/libqos/qgraph.c | 4 ++--
 ui/input-barrier.c          | 2 +-
 scripts/checkpatch.pl       | 5 +++++
 13 files changed, 20 insertions(+), 15 deletions(-)
Signature · 1 line
2.21.1