Re: [PATCH 2/4] fortify: test: Use kunit_device

From: Matti Vaittinen
Date: Tue Dec 05 2023 - 03:39:29 EST


On 12/5/23 09:31, davidgow@xxxxxxxxxx wrote:
Using struct root_device to create fake devices for tests is something
of a hack. The new struct kunit_device is meant for this purpose, so use
it instead.

Signed-off-by: David Gow <davidgow@xxxxxxxxxx>

Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>


--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~