diff options
author | Aravind Akella <aakella@google.com> | 2014-04-11 21:06:22 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-04-11 21:06:22 +0000 |
commit | 04c1521d1efdf81cca5dba4ef789e5b284c1037a (patch) | |
tree | f58454afd367d8aec08f39beff6886833242bb8d /tests | |
parent | 7b36316c3389138cb580293a9de1d6c74c5dea83 (diff) | |
parent | 54770a5d8a59e382b4bbfdab25867e88b568994d (diff) | |
download | hardware_libhardware-04c1521d1efdf81cca5dba4ef789e5b284c1037a.zip hardware_libhardware-04c1521d1efdf81cca5dba4ef789e5b284c1037a.tar.gz hardware_libhardware-04c1521d1efdf81cca5dba4ef789e5b284c1037a.tar.bz2 |
Merge "Remove offset checks for reserved fields in sensor_t and sensors_event_t."
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hardware/struct-offset.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp index 0a1338a..bdb1fad 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -88,7 +88,6 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(sensors_event_t, u64, 24, 24); CHECK_MEMBER_AT(sensors_event_t, u64.data, 24, 24); CHECK_MEMBER_AT(sensors_event_t, u64.step_counter, 24, 24); - CHECK_MEMBER_AT(sensors_event_t, reserved1, 88, 88); CHECK_MEMBER_AT(struct sensor_t, name, 0, 0); CHECK_MEMBER_AT(struct sensor_t, vendor, 4, 8); @@ -101,7 +100,6 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(struct sensor_t, minDelay, 32, 40); CHECK_MEMBER_AT(struct sensor_t, fifoReservedEventCount, 36, 44); CHECK_MEMBER_AT(struct sensor_t, fifoMaxEventCount, 40, 48); - CHECK_MEMBER_AT(struct sensor_t, reserved, 44, 56); CHECK_MEMBER_AT(sensors_poll_device_1_t, v0, 0, 0); CHECK_MEMBER_AT(sensors_poll_device_1_t, common, 0, 0); |