diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-02 20:06:05 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-09 13:31:35 +0200 |
commit | 38fce264b12bab641f22cef59db5d5b0b0cd841f (patch) | |
tree | 9b55b8b4edfaa4657cfdeaa823d55b6b2e5aa5fb /drivers/dma | |
parent | Linux 4.18-rc1 (diff) | |
download | linux-38fce264b12bab641f22cef59db5d5b0b0cd841f.tar.xz linux-38fce264b12bab641f22cef59db5d5b0b0cd841f.zip |
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>
Diffstat (limited to 'drivers/dma')
-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, default: pr_warn("%s(): invalid bus width %u\n", __func__, width); + /* fall through */ case DMA_SLAVE_BUSWIDTH_1_BYTE: size = burst; } |