From 83ee452ddb0be6ec3daae01bd13decc184d4ae6c Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 20 Feb 2023 10:50:17 +0100 Subject: [PATCH] Run struct_endianness.py Ensure there is no diff to prepare to run this in CI. Related: OS#5884 Change-Id: I1c82acd09497371938a2d9ae12a80382d20189ff --- src/llc.h | 2 +- src/rlc.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/llc.h b/src/llc.h index 58b169ef..d12daacc 100644 --- a/src/llc.h +++ b/src/llc.h @@ -41,7 +41,7 @@ struct gprs_llc_hdr { 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 a9d5d0b0..5c6930c7 100644 --- a/src/rlc.h +++ b/src/rlc.h @@ -386,7 +386,7 @@ struct rlc_ul_header { 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 @@ struct rlc_dl_header { 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 @@ struct rlc_li_field { 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 @@ struct rlc_li_field_egprs { 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));