libs/dahdi-linux: bump to latest git head
[feed/telephony.git] / libs / dahdi-linux / patches / 200-dahdi-use-fallthrough-where-needed.patch
1 From f9bc391e1cd830c830b3b4fb5fd46a59b41de373 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Fri, 12 May 2023 20:18:13 +0200
4 Subject: [PATCH 1/6] dahdi: use fallthrough where needed
5
6 Use fallthrough instead of comment to fix compilation warning.
7
8 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 ---
10 drivers/dahdi/dahdi-base.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 --- a/drivers/dahdi/dahdi-base.c
14 +++ b/drivers/dahdi/dahdi-base.c
15 @@ -8645,7 +8645,7 @@ void dahdi_rbsbits(struct dahdi_chan *ch
16 break;
17 case DAHDI_SIG_FXSKS: /* FXS Kewlstart */
18 case DAHDI_SIG_FXSGS: /* FXS Groundstart */
19 - /* Fall through */
20 + fallthrough;
21 case DAHDI_SIG_FXSLS:
22 if (!(cursig & DAHDI_BBIT)) {
23 /* Check for ringing first */