Files
u-boot/test/dm
Simon Glass 82be61976f test: dm: Fix delta usage in dm_test_devres_free()
This test passes delta values to ut_check_delta() where it expects
absolute values. ut_check_delta(last) computes (current - last), so
'last' must be an absolute reference point from a previous
ut_check_delta(0) call, not a delta.

The bug causes incorrect memory accounting that happens to work with
smaller allocation overhead but fails when mcheck header size increases.

Use ut_check_delta(0) to capture absolute reference points before each
operation.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-09 06:28:04 -07:00
..
2024-09-12 17:35:37 +02:00
2024-09-12 17:35:37 +02:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2025-06-28 07:53:25 -06:00
2025-10-19 12:27:49 +01:00
2025-06-28 07:53:25 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2024-08-26 18:51:49 -06:00
2025-05-27 04:57:06 +01:00
2025-12-07 17:18:57 -07:00