diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 12:54:37 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:33 -0600 |
commit | 85aeda4a62775326d616c7bc5876b4bd00cb1a3e (patch) | |
tree | 3c9abed084b26bd9339c55341342eb58e6f66261 /drivers | |
parent | 0503e8207c11c40bd53c41b88edbffe284a7658f (diff) | |
download | u-boot-85aeda4a62775326d616c7bc5876b4bd00cb1a3e.tar.gz u-boot-85aeda4a62775326d616c7bc5876b4bd00cb1a3e.tar.xz u-boot-85aeda4a62775326d616c7bc5876b4bd00cb1a3e.zip |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions