From 80dddfd90d90b35b936ac9f21ecadea19c8be41b Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 28 Feb 2018 13:18:23 +0100 Subject: octphy: replace #warning with #pragma message warning causes the compiler to throw an actual warning. Lets change those intentional warnings to messages. Change-Id: I2fc83a1a07db9c569b93f29835bf3a0fd8ef4ef5 --- src/osmo-bts-octphy/l1_if.c | 2 +- src/osmo-bts-octphy/l1_oml.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c index e94b6427..700cc80b 100644 --- a/src/osmo-bts-octphy/l1_if.c +++ b/src/osmo-bts-octphy/l1_if.c @@ -660,7 +660,7 @@ static int mph_info_req(struct gsm_bts_trx *trx, struct msgb *msg, if (l1sap->u.info.type == PRIM_INFO_ACTIVATE) l1if_rsl_chan_act(lchan); else if (l1sap->u.info.type == PRIM_INFO_MODIFY) { -#warning "Mode Modify is currently not not supported for Octasic PHY" +#pragma message ("Mode Modify is currently not supported for Octasic PHY (OS#3015)") /* l1if_rsl_mode_modify(lchan); */ } else if (l1sap->u.info.u.act_req.sacch_only) l1if_rsl_deact_sacch(lchan); diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c index d57228d5..018a4f9a 100644 --- a/src/osmo-bts-octphy/l1_oml.c +++ b/src/osmo-bts-octphy/l1_oml.c @@ -1722,7 +1722,7 @@ int bts_model_opstart(struct gsm_bts *bts, struct gsm_abis_mo *mo, void *obj) int bts_model_change_power(struct gsm_bts_trx *trx, int p_trxout_mdBm) { -#warning "Implement bts_model_change_power based on TRX_MODIFY_RF_CID" +#pragma message ("Implement bts_model_change_power based on TRX_MODIFY_RF_CID (OS#3016)") return 0; } -- cgit v1.2.3