Skip to content

Commit 4295b19

Browse files
LongerHVcarlescufi
authored andcommitted
net: buf: Fix docstrings
Some docstrings for push functions said little instead of big endian. Signed-off-by: Michał Mieszczak <[email protected]>
1 parent 3e4e949 commit 4295b19

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/net/buf.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ static inline void net_buf_push_le16(struct net_buf *buf, uint16_t val)
19041904
/**
19051905
* @brief Push 16-bit value to the beginning of the buffer
19061906
*
1907-
* Adds 16-bit value in little endian format to the beginning of the
1907+
* Adds 16-bit value in big endian format to the beginning of the
19081908
* buffer.
19091909
*
19101910
* @param buf Buffer to update.
@@ -1932,7 +1932,7 @@ static inline void net_buf_push_le24(struct net_buf *buf, uint32_t val)
19321932
/**
19331933
* @brief Push 24-bit value to the beginning of the buffer
19341934
*
1935-
* Adds 24-bit value in little endian format to the beginning of the
1935+
* Adds 24-bit value in big endian format to the beginning of the
19361936
* buffer.
19371937
*
19381938
* @param buf Buffer to update.
@@ -1960,7 +1960,7 @@ static inline void net_buf_push_le32(struct net_buf *buf, uint32_t val)
19601960
/**
19611961
* @brief Push 32-bit value to the beginning of the buffer
19621962
*
1963-
* Adds 32-bit value in little endian format to the beginning of the
1963+
* Adds 32-bit value in big endian format to the beginning of the
19641964
* buffer.
19651965
*
19661966
* @param buf Buffer to update.
@@ -1988,7 +1988,7 @@ static inline void net_buf_push_le48(struct net_buf *buf, uint64_t val)
19881988
/**
19891989
* @brief Push 48-bit value to the beginning of the buffer
19901990
*
1991-
* Adds 48-bit value in little endian format to the beginning of the
1991+
* Adds 48-bit value in big endian format to the beginning of the
19921992
* buffer.
19931993
*
19941994
* @param buf Buffer to update.
@@ -2016,7 +2016,7 @@ static inline void net_buf_push_le64(struct net_buf *buf, uint64_t val)
20162016
/**
20172017
* @brief Push 64-bit value to the beginning of the buffer
20182018
*
2019-
* Adds 64-bit value in little endian format to the beginning of the
2019+
* Adds 64-bit value in big endian format to the beginning of the
20202020
* buffer.
20212021
*
20222022
* @param buf Buffer to update.

0 commit comments

Comments
 (0)