mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
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>
This commit is contained in:
parent
d4e81342ea
commit
d6a48a476a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue