On Thu, 11 Jan 2024 at 02:55, Dan Carpenter dan.carpenter@linaro.org wrote:
The root_device_register() function does not return NULL, it returns error pointers. Fix the check to match.
Fixes: d03c720e03bd ("kunit: Add APIs for managing devices") Signed-off-by: Dan Carpenter dan.carpenter@linaro.org
Thanks for catching this.
Reviewed-by: David Gow davidgow@google.com
Cheers, -- David