Change in osmo-trx[master]: LMSDevice::open(): LMS_GetDeviceList() may return a negative number

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Sun Oct 24 21:30:52 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/25928 )


Change subject: LMSDevice::open(): LMS_GetDeviceList() may return a negative number
......................................................................

LMSDevice::open(): LMS_GetDeviceList() may return a negative number

Change-Id: I855bd8ea6d9cb0f285f4dbbf3bcd09bff4e71044
Fixes: CID#240718
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/28/25928/1

diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 6e5002c..7aafcf2 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -269,8 +269,7 @@
 	lms_info_str_t* info_list;
 	lms_range_t range_sr;
 	float_type sr_host, sr_rf;
-	unsigned int i, n;
-	int rc, dev_id;
+	int rc, dev_id, i, n;
 	struct dev_desc dev_desc;
 
 	LOGC(DDEV, INFO) << "Opening LMS device..";

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

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I855bd8ea6d9cb0f285f4dbbf3bcd09bff4e71044
Gerrit-Change-Number: 25928
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211024/918d4a99/attachment.htm>


More information about the gerrit-log mailing list