laforge has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/31398 )
Change subject: Run struct_endianness.py
......................................................................
Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI.
Related: OS#5884
Change-Id: I1c82acd09497371938a2d9ae12a80382d20189ff
---
M src/llc.h
M src/rlc.h
2 files changed, 17 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/llc.h b/src/llc.h
index 58b169e..d12daac 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -41,7 +41,7 @@
uint8_t address;
uint8_t sapi:4, unused:2, c_r:1, pd:1;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
union {
uint8_t address;
uint8_t pd:1, c_r:1, unused:2, sapi:4;
diff --git a/src/rlc.h b/src/rlc.h
index a9d5d0b..5c6930c 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -386,7 +386,7 @@
uint8_t e:1,
bsn:7;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t pt:2, cv:4, si:1, r:1;
uint8_t spare:1, pi:1, tfi:5, ti:1;
uint8_t bsn:7, e:1;
@@ -405,7 +405,7 @@
uint8_t e:1,
bsn:7;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t pt:2, rrbp:2, s_p:1, usf:3;
uint8_t pr:2, tfi:5, fbi:1;
uint8_t bsn:7, e:1;
@@ -418,7 +418,7 @@
m:1,
li:6;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t li:6, m:1, e:1;
#endif
} __attribute__ ((packed));
@@ -428,7 +428,7 @@
uint8_t e:1,
li:7;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t li:7, e:1;
#endif
} __attribute__ ((packed));
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/31398
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I1c82acd09497371938a2d9ae12a80382d20189ff
Gerrit-Change-Number: 31398
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged