projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7cb24
)
atm: firestream: Use fallthrough pseudo-keyword
author
Wei Ming Chen
<jj251510319013@gmail.com>
Fri, 7 May 2021 12:38:43 +0000
(20:38 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 7 May 2021 23:01:08 +0000
(16:01 -0700)
Add pseudo-keyword macro fallthrough[1]
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
Link:
https://lore.kernel.org/r/20210507123843.10602-1-jj251510319013@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/firestream.c
patch
|
blob
|
history
diff --git
a/drivers/atm/firestream.c
b/drivers/atm/firestream.c
index 0ddd611b427766f4f4d01eb17334a1e7ff13124b..3bc3c314a467b0bb508ac4a9a63aafd06e789ac5 100644
(file)
--- a/
drivers/atm/firestream.c
+++ b/
drivers/atm/firestream.c
@@
-795,6
+795,7
@@
static void process_incoming (struct fs_dev *dev, struct queue *q)
switch (STATUS_CODE (qe)) {
case 0x1:
/* Fall through for streaming mode */
+ fallthrough;
case 0x2:/* Packet received OK.... */
if (atm_vcc) {
skb = pe->skb;