Change in osmo-bts[master]: osmo-bts-trx/trx_provision_fsm: cosmetic: switch is not a function

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Sep 7 07:55:32 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/19986 )

Change subject: osmo-bts-trx/trx_provision_fsm: cosmetic: switch is not a function
......................................................................

osmo-bts-trx/trx_provision_fsm: cosmetic: switch is not a function

Change-Id: I56d2777bcc43c96b9fa1672d3ad29bf9817208bb
---
M src/osmo-bts-trx/trx_provision_fsm.c
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/osmo-bts-trx/trx_provision_fsm.c b/src/osmo-bts-trx/trx_provision_fsm.c
index 838433e..ad82961 100644
--- a/src/osmo-bts-trx/trx_provision_fsm.c
+++ b/src/osmo-bts-trx/trx_provision_fsm.c
@@ -258,7 +258,7 @@
 {
 	struct trx_l1h *l1h = (struct trx_l1h *)fi->priv;
 
-	switch(event) {
+	switch (event) {
 	case TRX_PROV_EV_OPEN:
 		/* enable all slots */
 		l1h->config.slotmask = 0xff;
@@ -289,7 +289,7 @@
 	int status;
 	bool others_ready;
 
-	switch(event) {
+	switch (event) {
 	case TRX_PROV_EV_CFG_ENABLE:
 		l1h->config.enabled =(bool)data;
 		break;
@@ -422,7 +422,7 @@
 	struct phy_link *plink = pinst->phy_link;
 	int rc;
 
-	switch(event) {
+	switch (event) {
 	case TRX_PROV_EV_POWERON_CNF:
 		rc = (uint16_t)(intptr_t)data;
 		if (rc == 0 && plink->state != PHY_LINK_CONNECTED) {
@@ -484,7 +484,7 @@
 	struct trx_prov_ev_cfg_ts_data* ts_data;
 	uint8_t tn;
 
-	switch(event) {
+	switch (event) {
 	case TRX_PROV_EV_CLOSE:
 		/* power off transceiver, if not already */
 		if (l1h->config.enabled) {
@@ -525,7 +525,7 @@
 	struct phy_link *plink = pinst->phy_link;
 	int rc;
 
-	switch(event) {
+	switch (event) {
 	case TRX_PROV_EV_POWEROFF_CNF:
 		rc = (uint16_t)(intptr_t)data;
 		if (plink->state != PHY_LINK_SHUTDOWN) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/19986
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I56d2777bcc43c96b9fa1672d3ad29bf9817208bb
Gerrit-Change-Number: 19986
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200907/3959f54d/attachment.htm>


More information about the gerrit-log mailing list