Re: [PATCH v3 3/5] overflow: Replace fake root_device with kunit_device

From: Kees Cook
Date: Thu Dec 14 2023 - 11:15:10 EST


On Thu, Dec 14, 2023 at 04:49:17PM +0800, 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.
>
> Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
> Signed-off-by: David Gow <davidgow@xxxxxxxxxx>

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook