Re: [PATCH 1/1] test/dm: check if devices exist

2020-07-26 Thread Simon Glass
Hi, On Fri, 17 Jul 2020 at 06:41, Philippe REYNES wrote: > > Hi Heinrich > > > Running 'ut dm' on the sandbox without -D or -d results in segmentation > > faults due to NULL pointer dereferences. > > > > Check that device pointers are non-NULL before using them. > > > > Use ut_assertnonnull() for

Re: [PATCH 1/1] test/dm: check if devices exist

2020-07-17 Thread Philippe REYNES
Hi Heinrich > Running 'ut dm' on the sandbox without -D or -d results in segmentation > faults due to NULL pointer dereferences. > > Check that device pointers are non-NULL before using them. > > Use ut_assertnonnull() for pointers instead of ut_assert(). Tested-by: Philippe Reynes > Signed-o

[PATCH 1/1] test/dm: check if devices exist

2020-07-16 Thread Heinrich Schuchardt
Running 'ut dm' on the sandbox without -D or -d results in segmentation faults due to NULL pointer dereferences. Check that device pointers are non-NULL before using them. Use ut_assertnonnull() for pointers instead of ut_assert(). Signed-off-by: Heinrich Schuchardt --- test/dm/acpi.c | 3