laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sccp/+/31394 )

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: I3909fd5a406e21f348ad8c1d5adc267551bfe2b2
---
M include/osmocom/mtp/mtp_level3.h
M include/osmocom/sccp/sccp_types.h
2 files changed, 19 insertions(+), 7 deletions(-)

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




diff --git a/include/osmocom/mtp/mtp_level3.h b/include/osmocom/mtp/mtp_level3.h
index 5bb8629..8ea54a9 100644
--- a/include/osmocom/mtp/mtp_level3.h
+++ b/include/osmocom/mtp/mtp_level3.h
@@ -127,7 +127,7 @@
                 spare : 2,
                 ni : 2;
 #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 ni:2, spare:2, ser_ind:4;
 #endif
        uint32_t addr;
@@ -139,7 +139,7 @@
        uint8_t h0 : 4,
                 h1 : 4;
 #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 h1:4, h0:4;
 #endif
 } __attribute__((packed));
@@ -150,7 +150,7 @@
        uint8_t spare : 4,
                 length : 4;
 #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 length:4, spare:4;
 #endif
        uint8_t data[0];
@@ -170,7 +170,7 @@
        uint8_t mul_ind : 2,
                 spare : 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 spare:6, mul_ind:2;
 #endif
 } __attribute__((packed));
diff --git a/include/osmocom/sccp/sccp_types.h 
b/include/osmocom/sccp/sccp_types.h
index 63ee568..277a3b2 100644
--- a/include/osmocom/sccp/sccp_types.h
+++ b/include/osmocom/sccp/sccp_types.h
@@ -105,7 +105,7 @@
                        routing_indicator    : 1,
                        reserved             : 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) */
        uint8_t reserved:1, routing_indicator:1, global_title_indicator:4, 
ssn_indicator:1, point_code_indicator:1;
 #endif
        uint8_t data[0];
@@ -120,7 +120,7 @@
        uint8_t msb : 6,
                        reserved : 2;
 #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 reserved:2, msb:6;
 #endif
 } __attribute__((packed));
@@ -162,7 +162,7 @@
        uint8_t nature_of_addr_ind : 7,
                        odd_even : 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) */
        uint8_t odd_even:1, nature_of_addr_ind:7;
 #endif
        uint8_t data[0];

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/31394
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I3909fd5a406e21f348ad8c1d5adc267551bfe2b2
Gerrit-Change-Number: 31394
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to