From f9bc391e1cd830c830b3b4fb5fd46a59b41de373 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 12 May 2023 20:18:13 +0200 Subject: [PATCH 1/6] dahdi: use fallthrough where needed Use fallthrough instead of comment to fix compilation warning. Signed-off-by: Christian Marangi --- drivers/dahdi/dahdi-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -8645,7 +8645,7 @@ void dahdi_rbsbits(struct dahdi_chan *ch break; case DAHDI_SIG_FXSKS: /* FXS Kewlstart */ case DAHDI_SIG_FXSGS: /* FXS Groundstart */ - /* Fall through */ + fallthrough; case DAHDI_SIG_FXSLS: if (!(cursig & DAHDI_BBIT)) { /* Check for ringing first */