diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-02 13:06:05 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-07-09 17:01:35 +0530 |
commit | 38fce264b12bab641f22cef59db5d5b0b0cd841f (patch) | |
tree | 9b55b8b4edfaa4657cfdeaa823d55b6b2e5aa5fb /drivers/dma/nbpfaxi.c | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-stable-38fce264b12bab641f22cef59db5d5b0b0cd841f.tar.gz linux-stable-38fce264b12bab641f22cef59db5d5b0b0cd841f.tar.bz2 linux-stable-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/nbpfaxi.c')
-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; } |