diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-07-18 10:03:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-05 08:31:41 +0200 |
commit | 22d2381bbd70a5853c2ee77522f4965139672db9 (patch) | |
tree | 0b8751a6291f5f11bafe4520af1c22fcd8115c15 /drivers/base/cpu.c | |
parent | 9e0cace7a6254070159ebd86497eadc29ea307ca (diff) |
driver core: test_async: fix an error code
The test_platform_device_register_node() function should return error
pointers instead of NULL. That is what the callers are expecting.
Fixes: 57ea974fb871 ("driver core: Rewrite test_async_driver_probe to cover serialization and NUMA affinity")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/1e11ed19-e1f6-43d8-b352-474134b7c008@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/cpu.c')
0 files changed, 0 insertions, 0 deletions