Skip to content
Snippets Groups Projects
Commit 85aeda4a authored by Simon Glass's avatar Simon Glass
Browse files

test: Add a macro to check that a value is not an error pointer


Some functions can return ERR_PTR(errval). Add a unit test macro to check
that no error is returned in a pointer.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 0503e820
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment