yamt commented on code in PR #10338:
URL: https://github.com/apache/nuttx/pull/10338#discussion_r1303847888
##########
include/nuttx/list.h:
##########
@@ -101,6 +101,17 @@
#define list_last_entry(list, type, member) \
list_entry((list)->prev, type, member)
+#define list_next_entry(list, type, member) \
Review Comment:
> > I found the Linux variant, but failed to find FreeBSD variant. It would
be helpful if the link to FreeBSP file can be a part of a description.
>
> FreeBSD just copy Linux header file directly:
https://github.com/freebsd/freebsd-src/blob/main/sys/compat/linuxkpi/common/include/linux/list.h#L204
are you sure?
i thought these "linuxkpi" stuff was about avoiding gpl pollution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]