osmo-bts/src/osmo-bts-lc15
Vadim Yanitskiy 4f346b0458 lchan2lch_par(): fix missing default branch in switch
New channel mode values have recently been added with change [1]
to 'enum gsm48_chan_mode'.  The lack of default branch in
lchan2lch_par() caused build failures on Jenkins:

  oml.c:956:2: error: enumeration value ‘GSM48_CMODE_SPEECH_V2_VAMOS’
                      not handled in switch [-Werror=switch]
  oml.c:956:2: error: enumeration value ‘GSM48_CMODE_SPEECH_V3_VAMOS’
                      not handled in switch [-Werror=switch]
  oml.c:956:2: error: enumeration value ‘GSM48_CMODE_SPEECH_V5_VAMOS’
                      not handled in switch [-Werror=switch]

This function is duplicated in osmo-bts-{lc15,oc2g,octphy,sysmo},
so we unfortunately need to apply the same fix to all copy-pasted files.

Change-Id: I557ff8cac6564d22485c101fba9212f5f0e95bb7
Related: [1] Ie0ea592da5610ae70290106d004e549cf3212a89
2021-04-20 22:49:31 +02:00
..
misc lc15-mgr: generate coredump and exit upon SIGABRT received 2020-11-25 20:21:21 +01:00
Makefile.am osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
calib_file.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
hw_misc.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
hw_misc.h osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
l1_if.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
l1_if.h osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
l1_transp.h osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
l1_transp_hw.c Use osmo_fd_*_{disable,enable} 2021-02-03 10:41:16 +01:00
lc15bts.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
lc15bts.h osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
lc15bts_vty.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
main.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
oml.c lchan2lch_par(): fix missing default branch in switch 2021-04-20 22:49:31 +02:00
tch.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
utils.c osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00
utils.h osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00