btrfs-progs: Setting implicit-fallthrough by default
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs-progs: utils: Replace __attribute__(fallthrough)common/ | +6 | 3 replies | |
| 2/2 | btrfs-progs: Makefile: Add -Wimplicit-fallthroughMakefile | +1 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nikolay Borisov |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default
From: Marcos Paulo de Souza <[email protected]>
While compiling btrfs-progs using clang I found an issue using __attribute__(fallthrough), which does not seems to work in clang.
To solve this issue, the code was changed to use /* fallthrough */, which is the same notation adopted by linux kernel.
Once these places were changed, -Wimplicit-fallthrough was set in Makefile, to avoid further implicit-fallthrough cases being added in the future.
Marcos Paulo de Souza (2):
btrfs-progs: utils: Replace __attribute__(fallthrough)
btrfs-progs: Makefile: Add -Wimplicit-fallthrough
Makefile | 1 + common/utils.c | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
2.23.0