提交 38fce264 编写于 作者: G Gustavo A. R. Silva 提交者: Vinod Koul

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: NGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: NVinod Koul <vkoul@kernel.org>
上级 ce397d21
...@@ -479,6 +479,7 @@ static size_t nbpf_xfer_size(struct nbpf_device *nbpf, ...@@ -479,6 +479,7 @@ static size_t nbpf_xfer_size(struct nbpf_device *nbpf,
default: default:
pr_warn("%s(): invalid bus width %u\n", __func__, width); pr_warn("%s(): invalid bus width %u\n", __func__, width);
/* fall through */
case DMA_SLAVE_BUSWIDTH_1_BYTE: case DMA_SLAVE_BUSWIDTH_1_BYTE:
size = burst; size = burst;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册