summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-10-09 00:01:06 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-10-09 00:01:06 +0200
commitc84851bccc2e5e60536afa474a5f13134a3b79c9 (patch)
tree3b7b4ba2c759272b5a7a7724f0f532757984a175 /include/osmocom/core
parent5eeb17a0178a72d291cb99f2391d8ea7e9b65dd4 (diff)
comments
Diffstat (limited to 'include/osmocom/core')
-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.