summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 14:48:28 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-07-13 14:48:28 -0500
commitd6a48a476a5de8bdfbdd6040aa5a48955fc49e44 (patch)
treef42aff4b49804de9fa0878f880cea7bbede0cbb3 /drivers
parentd4e81342ea2399cf92e98ea5c0d025bcf8a3d065 (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')
-rw-r--r--drivers/dma/ti/k3-udma.c1
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;
}