[U-Boot] [PATCH 16/18] test: Add a macro to check that a value is not an error pointer
Simon Glass
sjg at chromium.org
Sat Jul 18 01:59:02 CEST 2015
On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
> include/test/ut.h | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
Applied to u-boot-dm.
More information about the U-Boot
mailing list