]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: fdt: Check internal-function return values
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:57:55 +0000 (07:57 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 00:51:49 +0000 (18:51 -0600)
commitb8133039fb75650b8baf25a96bfbdcab31147fec
tree3c0950c6cce89d2f3eb4455a1079b2615c5b7160
parenta6a80b3b29eedcbb6f4f1c603510a961248dc616
test: fdt: Check internal-function return values

Some functions are using asserts but the result of the functions
themselves is not checked. This means that if a test fails, the result
is not noticed until later, which can be confusing to debug.

Add the missing asserts.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/fdt.c