]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
test: Add a macro to check that a value is not an error pointer
authorSimon Glass <sjg@chromium.org>
Mon, 6 Jul 2015 18:54:37 +0000 (12:54 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:48:56 +0000 (13:48 +0200)
commit9cc582a11376c22e6d4a02dc3c4cec261f63d04c
treec871f3d6f34efbafbc7159f3a3bbaab73cafa5c3
parent1b52981432ba0e2b5cbeb4c4ec2e91fb6d877953
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>
include/test/ut.h