commit | 7e1cebfeb365c5c0c89913504e7fe472f418587a | [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 | cf61f7434f5ba310a270d594ac2f941974001fc9 [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>