This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Hoernchen gerrit-no-reply at lists.osmocom.orgHoernchen has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26401 ) Change subject: 7816 fsm: emphasize the inner workings of the static msgb macro ...................................................................... 7816 fsm: emphasize the inner workings of the static msgb macro Change-Id: I37226d1fe2c14adb2b2d97608496dbb1661be543 --- M ccid_common/iso7816_fsm.c 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/01/26401/1 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) { \ -- To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/26401 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ccid-firmware Gerrit-Branch: master Gerrit-Change-Id: I37226d1fe2c14adb2b2d97608496dbb1661be543 Gerrit-Change-Number: 26401 Gerrit-PatchSet: 1 Gerrit-Owner: Hoernchen <ewild at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211127/a3284422/attachment.htm>