diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2019-06-25 20:37:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-25 23:42:54 +0300 |
commit | a7dc51adcafe00406d0fb6cc5be3b65b8fc52004 (patch) | |
tree | 1215dfd76250d1463a14f5812ac454aeb04f864d /net/tipc/msg.h | |
parent | 20c67312946dd0e152f6c65d6fa93c1b0eedcd80 (diff) | |
download | linux-a7dc51adcafe00406d0fb6cc5be3b65b8fc52004.tar.xz |
tipc: rename function msg_get_wrapped() to msg_inner_hdr()
We rename the inline function msg_get_wrapped() to the more
comprehensible msg_inner_hdr().
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r-- | net/tipc/msg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index 8de02ad6e352..da509f0eb9ca 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h @@ -308,7 +308,7 @@ static inline unchar *msg_data(struct tipc_msg *m) return ((unchar *)m) + msg_hdr_sz(m); } -static inline struct tipc_msg *msg_get_wrapped(struct tipc_msg *m) +static inline struct tipc_msg *msg_inner_hdr(struct tipc_msg *m) { return (struct tipc_msg *)msg_data(m); } @@ -486,7 +486,7 @@ static inline void msg_set_prevnode(struct tipc_msg *m, u32 a) static inline u32 msg_origport(struct tipc_msg *m) { if (msg_user(m) == MSG_FRAGMENTER) - m = msg_get_wrapped(m); + m = msg_inner_hdr(m); return msg_word(m, 4); } |