projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce397d2
)
dmaengine: nbpfaxi: Mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Mon, 2 Jul 2018 18:06:05 +0000
(13:06 -0500)
committer
Vinod Koul
<vkoul@kernel.org>
Mon, 9 Jul 2018 11:31:35 +0000
(17:01 +0530)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/nbpfaxi.c
patch
|
blob
|
history
diff --git
a/drivers/dma/nbpfaxi.c
b/drivers/dma/nbpfaxi.c
index 2f9974ddfbb2fde6f20d49689502156936452eb5..8c7b2e8703dabd06bbef253c3f9d2ef6f7c085cb 100644
(file)
--- a/
drivers/dma/nbpfaxi.c
+++ b/
drivers/dma/nbpfaxi.c
@@
-479,6
+479,7
@@
static size_t nbpf_xfer_size(struct nbpf_device *nbpf,
default:
pr_warn("%s(): invalid bus width %u\n", __func__, width);
+ /* fall through */
case DMA_SLAVE_BUSWIDTH_1_BYTE:
size = burst;
}