aboutsummaryrefslogtreecommitdiff
path: root/include/tpm_api.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-11 20:46:30 -0600
committerTom Rini <trini@konsulko.com>2023-07-14 12:54:50 -0400
commit2c522af748162fb69936b732825bc771e09e7256 (patch)
tree510dcc21b90343675d6930b45561f81ab572c1e1 /include/tpm_api.h
parentcef36755094f0c5463ff34ac89de8d88ef68982b (diff)
bdinfo: Correct use of assertions
This test was written for the incorrect use of assertions. Update it to build with the previous approach, where tests fail at the first assertion. All assertion functions return 0 on success and non-zero on failure. They can be nested into functions simply by declaring a function that returns an int and using ut_assertok() to call it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/tpm_api.h')
0 files changed, 0 insertions, 0 deletions