mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-01 09:40:22 +08:00

Add a new patch: 207-opvxa1200-unused-variable.patch which fixes unused variable {pos,x,y} errors in the drivers/dahdi/opvxa1200/base.c file. Fixes compiling against linux >= 6.6 Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
24 lines
790 B
Diff
24 lines
790 B
Diff
From f9bc391e1cd830c830b3b4fb5fd46a59b41de373 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
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 <ansuelsmth@gmail.com>
|
|
---
|
|
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 */
|