diff options
author | 2023-07-18 10:03:49 +0300 | |
---|---|---|
committer | 2023-08-05 08:31:41 +0200 | |
commit | 22d2381bbd70a5853c2ee77522f4965139672db9 (patch) | |
tree | 0b8751a6291f5f11bafe4520af1c22fcd8115c15 /drivers/base/node.c | |
parent | driver core: Move dev_err_probe() to where it belogs (diff) | |
download | linux-rng-22d2381bbd70a5853c2ee77522f4965139672db9.tar.xz linux-rng-22d2381bbd70a5853c2ee77522f4965139672db9.zip |
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/node.c')
0 files changed, 0 insertions, 0 deletions