openwrt/package/kernel/lantiq
Christian Marangi f1a2744182
kernel: ltq-vdsl-vr11: fix compilation waring
Add patch fixing compilation warning from missing fallthrough
Fix compilation warning:
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/common/drv_dsl_cpe_api.c: In function 'DSL_DRV_AutobootControlSet':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/common/drv_dsl_cpe_api.c:2648:19: error: this statement may fall through [-Werror=implicit-fallthrough=]
 2648 |                if (pContext->bAutobootThreadStarted)
      |                   ^
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/common/drv_dsl_cpe_api.c:2656:13: note: here
 2656 |             case DSL_AUTOBOOT_CTRL_STOP_PD:
      |             ^~~~
cc1: all warnings being treated as errors

/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/pm/drv_dsl_cpe_pm_core.c: In function 'DSL_DRV_PM_CountersReset':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/pm/drv_dsl_cpe_pm_core.c:2358:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
 2358 |    if (ResetType == DSL_PM_RESET_HISTORY)
      |       ^
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/pm/drv_dsl_cpe_pm_core.c:2361:4: note: here
 2361 |    case DSL_PM_RESET_TOTAL:
      |    ^~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/pm/drv_dsl_cpe_pm_core.c:2365:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
 2365 |    if (ResetType == DSL_PM_RESET_TOTAL)
      |       ^
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/pm/drv_dsl_cpe_pm_core.c:2368:4: note: here
 2368 |    case DSL_PM_RESET_HISTORY_SHOWTIME:
      |    ^~~~
cc1: all warnings being treated as errors

/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/device/drv_dsl_cpe_device_vrx.c: In function 'DSL_DRV_DEV_AutobootHandleTraining':
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/device/drv_dsl_cpe_device_vrx.c:8883:19: error: this statement may fall through [-Werror=implicit-fallthrough=]
 8883 |          bPreFail = DSL_TRUE;
      |          ~~~~~~~~~^~~~~~~~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-arm-openwrt-linux-muslgnueabi_musl/linux-ipq40xx_generic/dsl_cpe_api-ugw_8.5.2.10/src/device/drv_dsl_cpe_device_vrx.c:8889:7: note: here
 8889 |       case DSL_LINESTATE_EXCEPTION:
      |       ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:46 +02:00
..
ltq-adsl kernel: ltq-adsl: add patch fixing compilation warning 2023-05-12 03:15:45 +02:00
ltq-adsl-fw
ltq-adsl-mei kernel: ltq-adsl-mei: fix compilation warning for copy_from_user ret 2023-05-12 03:15:43 +02:00
ltq-atm ltq-atm/ltq-ptm: avoid unnecessary build dependencies 2022-05-04 01:38:04 +01:00
ltq-deu kernel: ltq-deu: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
ltq-ifxos ltq-ifxos: enable for ipq40xx 2023-01-16 23:41:41 +00:00
ltq-ptm kernel: ltq-ptm: add patch fixing compilation warning 2023-05-12 03:15:45 +02:00
ltq-tapi lantiq: ltq-tapi: add customer pulse digit time 2022-11-18 20:27:52 +01:00
ltq-vdsl-fw ltq-vdsl-fw: fix firmware installer 2022-08-26 22:32:47 +01:00
ltq-vdsl-vr9 ltq-vdsl-vr9: fix upstream MINEFTR 2023-02-03 13:33:36 +01:00
ltq-vdsl-vr9-mei kernel: ltq-vdsl-vr9-mei: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
ltq-vdsl-vr11 kernel: ltq-vdsl-vr11: fix compilation waring 2023-05-12 03:15:46 +02:00
ltq-vdsl-vr11-mei kernel: ltq-vdsl-vr11-mei: fix compilation warning 2023-05-12 03:15:45 +02:00
ltq-vectoring kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
ltq-vmmc kernel: ltq-vmmc: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
vrx518_ep kernel: add Intel/Lantiq VRX518 EP driver 2023-01-16 23:41:41 +00:00
vrx518_tc kernel: lantiq: vrx518_tc: add patch fix compilation warning for ptm_tc 2023-05-12 03:15:44 +02:00