compare_timestamp_entries will fail for entries that are different by at least 2^32 since entry_stamp is 64-bit and the return for compare is 32-bit. This change fixes compare_timestamps by actually comparing the entries to return 1, -1 or 0 instead of doing math on them. TEST=Verified that "cbmem -t" sorts entries correctly on previously failing entries. Change-Id: I67c3c4d1761715ecbf259935fabb22ce37c3966e Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/26357 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> |
||
|---|---|---|
| .. | ||
| abuild | ||
| acpi | ||
| amdfwtool | ||
| amdtools | ||
| archive | ||
| arm_boot_tools/mksunxiboot | ||
| autoport | ||
| bimgtool | ||
| bincfg | ||
| board_status | ||
| broadcom | ||
| cbfstool | ||
| cbmem | ||
| checklist | ||
| chromeos | ||
| crossgcc | ||
| docker | ||
| dtd_parser | ||
| ectool | ||
| exynos | ||
| futility | ||
| fuzz-tests | ||
| genbuild_h | ||
| genprof | ||
| gitconfig | ||
| ifdfake | ||
| ifdtool | ||
| intelmetool | ||
| inteltool | ||
| intelvbttool | ||
| ipqheader | ||
| k8resdump | ||
| kbc1126 | ||
| kconfig | ||
| lint | ||
| marvell | ||
| me_cleaner | ||
| mma | ||
| msrtool | ||
| mtkheader | ||
| nvidia | ||
| nvramtool | ||
| optionlist | ||
| post | ||
| qualcomm/scripts/cmm | ||
| release | ||
| riscv | ||
| rockchip | ||
| romcc | ||
| sconfig | ||
| scripts | ||
| showdevicetree | ||
| spkmodem_recv | ||
| superiotool | ||
| testing | ||
| uio_usbdebug | ||
| vgabios | ||
| viatool | ||
| x86 | ||
| xcompile | ||