Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/6097/1/src/common/bts.c
File src/common/bts.c:

Line 693:       for (i = 0;; i++) {
> This way: (i = 0; i < _GSM_PCHAN_MAX; i++)
Oops, I was mistaken. As the size of bts->support.cm
array is different for different BTS models, you may
use the ARRAY_SIZE:

for (i = 0; i < ARRAY_SIZE(bts->support.cm); i++) ...


-- 
To view, visit https://gerrit.osmocom.org/6097
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id9b222b7ab19ece90591718bc562b3a8c5e02023
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>
Gerrit-HasComments: Yes

Reply via email to