Change in osmo-ccid-firmware[master]: ccid: adjust msgb size

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Nov 20 08:53:42 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/21072 )

Change subject: ccid: adjust msgb size
......................................................................

ccid: adjust msgb size

Our transfers are < 300b including the header anyway, no need to have
different allocation sizes.

Change-Id: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406
---
M ccid_common/ccid_device.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/ccid_common/ccid_device.c b/ccid_common/ccid_device.c
index 7819d41..405fb2e 100644
--- a/ccid_common/ccid_device.c
+++ b/ccid_common/ccid_device.c
@@ -180,7 +180,7 @@
 
 static struct msgb *ccid_msgb_alloc(void)
 {
-	struct msgb *msg = msgb_alloc(512, "ccid");
+	struct msgb *msg = msgb_alloc(300, "ccid");
 	OSMO_ASSERT(msg);
 	return msg;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/21072
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: Ia7b20dc4410f5705d0401bc805cad0ae7a7de406
Gerrit-Change-Number: 21072
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201120/8dc0c5c0/attachment.htm>


More information about the gerrit-log mailing list