7816 fsm: emphasize the inner workings of the static msgb macro
Change-Id: I37226d1fe2c14adb2b2d97608496dbb1661be543
This commit is contained in:
parent
51b2facc66
commit
06f7e92a04
|
@ -46,9 +46,9 @@
|
|||
memset(name, 0x00, sizeof(name ## _msgbuf)); \
|
||||
name->data_len = sizeof(name ## _msgbuf) - sizeof(struct msgb); \
|
||||
name->len = 0; \
|
||||
name->data = name->_data; \
|
||||
name->head = name->_data; \
|
||||
name->tail = name->_data; \
|
||||
name->data = &name->_data[0]; \
|
||||
name->head = &name->_data[0]; \
|
||||
name->tail = &name->_data[0]; \
|
||||
}
|
||||
|
||||
#define COPY_TO_STATIC_MSGB(src, dst) { \
|
||||
|
|
Loading…
Reference in New Issue