Skip to content

Commit

Permalink
fixup! porting/os_mbuf: try to fix style issue once more
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed May 24, 2022
1 parent 5baf36c commit 07112fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion porting/nimble/include/os/os_mbuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ struct os_mqueue {

/** Get a packet header pointer given an mbuf pointer */
#define OS_MBUF_PKTHDR(__om) ((struct os_mbuf_pkthdr *)(uintptr_t) \
(void *)((uint8_t *)&(__om)->om_data + sizeof(struct os_mbuf)))
(void *)((uint8_t *)&(__om)->om_data \
+ sizeof(struct os_mbuf)))

/** Given a mbuf packet header pointer, return a pointer to the mbuf */
#define OS_MBUF_PKTHDR_TO_MBUF(__hdr) \
Expand Down

0 comments on commit 07112fb

Please sign in to comment.