commit | 85aeda4a62775326d616c7bc5876b4bd00cb1a3e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 06 12:54:37 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:33 2015 -0600 |
tree | 3c9abed084b26bd9339c55341342eb58e6f66261 | |
parent | 0503e8207c11c40bd53c41b88edbffe284a7658f [diff] |
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>