Commit d6a48a47 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva

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: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
parent d4e81342
...@@ -4948,6 +4948,7 @@ static int setup_resources(struct udma_dev *ud) ...@@ -4948,6 +4948,7 @@ static int setup_resources(struct udma_dev *ud)
ud->tchan_cnt), ud->tchan_cnt),
ud->rchan_cnt - bitmap_weight(ud->rchan_map, ud->rchan_cnt - bitmap_weight(ud->rchan_map,
ud->rchan_cnt)); ud->rchan_cnt));
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment