diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-02 14:06:05 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-09 07:31:35 -0400 |
commit | 38fce264b12bab641f22cef59db5d5b0b0cd841f (patch) | |
tree | 9b55b8b4edfaa4657cfdeaa823d55b6b2e5aa5fb | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) |
dmaengine: nbpfaxi: Mark expected switch fall-through
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>
-rw-r--r-- | drivers/dma/nbpfaxi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 2f9974ddfbb2..8c7b2e8703da 100644 --- a/drivers/dma/nbpfaxi.c +++ b/drivers/dma/nbpfaxi.c | |||
@@ -479,6 +479,7 @@ static size_t nbpf_xfer_size(struct nbpf_device *nbpf, | |||
479 | 479 | ||
480 | default: | 480 | default: |
481 | pr_warn("%s(): invalid bus width %u\n", __func__, width); | 481 | pr_warn("%s(): invalid bus width %u\n", __func__, width); |
482 | /* fall through */ | ||
482 | case DMA_SLAVE_BUSWIDTH_1_BYTE: | 483 | case DMA_SLAVE_BUSWIDTH_1_BYTE: |
483 | size = burst; | 484 | size = burst; |
484 | } | 485 | } |