summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/bitXXgen.h.tpl4
-rw-r--r--include/osmocom/core/linuxlist.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/osmocom/core/bitXXgen.h.tpl b/include/osmocom/core/bitXXgen.h.tpl
index 9e5a1971..7480a8f4 100644
--- a/include/osmocom/core/bitXXgen.h.tpl
+++ b/include/osmocom/core/bitXXgen.h.tpl
@@ -51,7 +51,7 @@ static inline uintXX_t osmo_loadXXbe_ext(const void *p, uint8_t n)
}
-/*! \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 @@ static inline void osmo_storeXXle_ext(uintXX_t x, void *p, uint8_t n)
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 a8a28ee7..01fd261a 100644
--- a/include/osmocom/core/linuxlist.h
+++ b/include/osmocom/core/linuxlist.h
@@ -294,7 +294,8 @@ static inline void llist_splice_init(struct llist_head *llist,
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.