libosmocore[master]: linuxlist: add llist_first and llist_last macros

Harald Welte gerrit-no-reply at
Wed Feb 15 23:25:24 UTC 2017

Patch Set 2: Code-Review-1

the header was imported from the Linux kernel, so when extending it, let's check if the kernel has this already.  Indeed, it seems the kernel has list_first_entry() and list_lsat_entry().  Please don't introduce api/naming differences without good reason.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I296b7cf1c7cb07b24c2e17084b03fed321c53a7c
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at>
Gerrit-HasComments: No

More information about the gerrit-log mailing list