projects
/
linux-2.6-microblaze.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
0ddd611
..
3bc3c31
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;