comments
diff --git a/include/osmocom/core/bitXXgen.h.tpl b/include/osmocom/core/bitXXgen.h.tpl
index 9e5a197..7480a8f 100644
--- a/include/osmocom/core/bitXXgen.h.tpl
+++ b/include/osmocom/core/bitXXgen.h.tpl
@@ -51,7 +51,7 @@
}
-/*! \brief store unaligned n-byte integer (little-endian encoding) into uintXX_t
+/*! \brief store unaligned n-byte integer (little-endian encoding) from uintXX_t
* \param[in] x unsigned XX bit integer
* \param[out] p Buffer to store integer
* \param[in] n Number of bytes to store
@@ -63,7 +63,7 @@
for(i = 0; i < n; q[i] = (x >> i * 8) & 0xFF, i++);
}
-/*! \brief store unaligned n-byte integer (big-endian encoding) into uintXX_t
+/*! \brief store unaligned n-byte integer (big-endian encoding) from uintXX_t
* \param[in] x unsigned XX bit integer
* \param[out] p Buffer to store integer
* \param[in] n Number of bytes to store
diff --git a/include/osmocom/core/linuxlist.h b/include/osmocom/core/linuxlist.h
index a8a28ee..01fd261 100644
--- a/include/osmocom/core/linuxlist.h
+++ b/include/osmocom/core/linuxlist.h
@@ -294,7 +294,8 @@
prefetch(pos->member.next))
/**
- * llist_for_each_entry_safe - iterate over llist of given type safe against removal of llist entry
+ * llist_for_each_entry_safe - iterate over llist of given type, safe against
+ * removal of non-consecutive(!) llist entries
* @pos: the type * to use as a loop counter.
* @n: another type * to use as temporary storage
* @head: the head for your llist.