aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-01 18:54:50 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-02-01 18:57:03 +0100
commit5cef0623ef64bc641d2d29edb1ebaaafcc7c0df6 (patch)
treeb4e1de8658c7c731f4338f85223e490fe0e6d820 /src
parent40c05f07f49721e3ec89f6cd4a21a187a41336ef (diff)
gsm_pchan2chan_nr: move warning to pragma message and track issue
Take the chance to move the default option to the end as it's the usually expected syntax. Change-Id: I21298fcd0d1c1aafdd3dc1e8c8dae37b271b1d3d
Diffstat (limited to 'src')
-rw-r--r--src/common/gsm_data_shared.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c
index aa012bcc..9aa4ba17 100644
--- a/src/common/gsm_data_shared.c
+++ b/src/common/gsm_data_shared.c
@@ -675,15 +675,15 @@ uint8_t gsm_pchan2chan_nr(enum gsm_phys_chan_config pchan,
cbits = 0x08;
cbits += lchan_nr;
break;
- default:
case GSM_PCHAN_CCCH:
+ default:
/* OSMO_ASSERT(lchan_nr == 0);
* FIXME: On octphy and litecell, we hit above assertion (see
* Max's comment at https://gerrit.osmocom.org/589 ); disabled
* for BTS until this is clarified; remove the #ifdef when it
- * is fixed.
+ * is fixed. Tracked in OS#2906.
*/
-#warning "fix caller that passes lchan_nr != 0"
+#pragma message "fix caller that passes lchan_nr != 0"
cbits = 0x10;
break;
}