check-structures-sanity: ignore DfLinkedList element sizes; these can be part of a larger structure

develop
Ben Lubar 2020-03-06 17:05:36 -06:00
parent 61aeaaf55e
commit def86b8058
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 4 additions and 0 deletions

@ -1347,6 +1347,10 @@ void Checker::check_struct(const ToCheck & item)
FAIL("allocated structure size (" << allocated_size << ") does not match expected size (" << expected_size << ")");
}
}
else if (item.path.at(item.path.size() - 1) == "prev" || item.path.at(item.path.size() - 1) == "next")
{
// ignore unknown DfLinkedList sizes for now
}
else
{
FAIL("unknown allocation size; possibly bad");