WSL2-Linux-Kernel/drivers/base/test
Dan Carpenter 46b76f13f1 driver core: test_async: fix an error code
[ Upstream commit 22d2381bbd ]

The test_platform_device_register_node() function should return error
pointers instead of NULL.  That is what the callers are expecting.

Fixes: 57ea974fb8 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:22:45 +02:00
..
Kconfig kunit: software node: adhear to KUNIT formatting standard 2021-04-15 08:56:27 +02:00
Makefile device property: build kunit tests without structleak plugin 2021-10-06 17:53:42 -06:00
property-entry-test.c device property: Remove some casts in property-entry-test 2021-06-23 16:37:21 -06:00
test_async_driver_probe.c driver core: test_async: fix an error code 2023-09-19 12:22:45 +02:00