commit | db245dff2e0ede193b2e82302a375062f59ed9c7 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Oct 04 20:24:33 2022 -0700 |
committer | Christopher Ferris <cferris@google.com> | Mon Oct 10 18:58:56 2022 -0700 |
tree | 8f8e661d8c0741ac368ef78756483f333b8e73b2 | |
parent | 5308c041c712b8cd2ecee04335c10d0aeb97d610 [diff] |
Modify a few data structures into unions. The new 6.0 kernel headers changed all variable length structures from [0] to []. This causes a clang warning to trigger, so silence the warning around those structures. In addition, create ptrs to two structures used in a lambda since clang does not allow variable length arrays passed by reference to a lambda. Test: Builds. Test: Ran netd_unit_tests on a device (coral). Change-Id: Ie47d0811ca9384ca27b620baf2c0f96469e45de5