summaryrefslogtreecommitdiff
path: root/drivers/greybus/es2.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-27 13:32:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 16:58:08 +0200
commit37b8b73f641cc151a58eef8b9a73dac2f273146e (patch)
tree0584d9e13d4ff3c2c3df2dc9a7e37a0205f639f3 /drivers/greybus/es2.c
parent2f79d3d1f7f0885d574811f80c6e0473ab8ef5ab (diff)
greybus: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://lore.kernel.org/r/20200727183258.GA28571@embeddedor Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/greybus/es2.c')
-rw-r--r--drivers/greybus/es2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/greybus/es2.c b/drivers/greybus/es2.c
index 366716f11b1a..1df6ab5d339d 100644
--- a/drivers/greybus/es2.c
+++ b/drivers/greybus/es2.c
@@ -759,7 +759,7 @@ static int check_urb_status(struct urb *urb)
case -EOVERFLOW:
dev_err(dev, "%s: overflow actual length is %d\n",
__func__, urb->actual_length);
- /* fall through */
+ fallthrough;
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN: