7816 fsm: emphasize the inner workings of the static msgb macro
Change-Id: I37226d1fe2c14adb2b2d97608496dbb1661be543
diff --git a/ccid_common/iso7816_fsm.c b/ccid_common/iso7816_fsm.c
index 7ea842d..d82380b 100644
--- a/ccid_common/iso7816_fsm.c
+++ b/ccid_common/iso7816_fsm.c
@@ -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) { \