diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 14:48:28 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 14:48:28 -0500 |
commit | d6a48a476a5de8bdfbdd6040aa5a48955fc49e44 (patch) | |
tree | f42aff4b49804de9fa0878f880cea7bbede0cbb3 /drivers/dma/ti | |
parent | d4e81342ea2399cf92e98ea5c0d025bcf8a3d065 (diff) |
dmaengine: ti: k3-udma: Fix fall-through warning for Clang
Fix the following fallthrough warning:
drivers/dma/ti/k3-udma.c:4951:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/dma/ti')
-rw-r--r-- | drivers/dma/ti/k3-udma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 96ad21869ba7..a35858610780 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -4948,6 +4948,7 @@ static int setup_resources(struct udma_dev *ud) ud->tchan_cnt), ud->rchan_cnt - bitmap_weight(ud->rchan_map, ud->rchan_cnt)); + break; default: break; } |