Change in osmo-pcu[master]: pdch: Use llist_first_entry() API

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

pespin gerrit-no-reply at lists.osmocom.org
Thu May 13 17:03:14 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/24223 )

Change subject: pdch: Use llist_first_entry() API
......................................................................

pdch: Use llist_first_entry() API

Change-Id: I96e7188ecf7d2cfc54598975f8d538e7aa94401a
---
M src/pdch.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/src/pdch.cpp b/src/pdch.cpp
index c69c45c..96bab54 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -179,7 +179,7 @@
 
 	if (llist_empty(&paging_list))
 		return NULL;
-	pag = llist_entry(paging_list.next, struct gprs_rlcmac_paging, list);
+	pag = llist_first_entry(&paging_list, struct gprs_rlcmac_paging, list);
 	llist_del(&pag->list);
 
 	return pag;

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I96e7188ecf7d2cfc54598975f8d538e7aa94401a
Gerrit-Change-Number: 24223
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
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/20210513/8e388155/attachment.htm>


More information about the gerrit-log mailing list