OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e8134
)
dmaengine: ti: k3-udma: Fix fall-through warning for Clang
author
Gustavo A. R. Silva
<gustavoars@kernel.org>
Tue, 13 Jul 2021 19:48:28 +0000
(14:48 -0500)
committer
Gustavo A. R. Silva
<gustavoars@kernel.org>
Tue, 13 Jul 2021 19:48:28 +0000
(14:48 -0500)
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>
drivers/dma/ti/k3-udma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ti/k3-udma.c
b/drivers/dma/ti/k3-udma.c
index
96ad218
..
a358586
100644
(file)
--- 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;
}