[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09db7e8dadfa5d73bdcbf2f6c6af9fbd@kernel.org>
Date: Wed, 13 Dec 2023 15:03:02 +0000
From: "Maxime Ripard" <mripard@...nel.org>
To: davidgow@...gle.com
Cc: kunit-dev@...glegroups.com, linux-doc@...r.kernel.org,
linux-hardening@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-sound@...r.kernel.org,
"Brendan Higgins" <brendan.higgins@...ux.dev>,
"David Gow" <davidgow@...gle.com>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
"Jaroslav Kysela" <perex@...ex.cz>,
"Jonathan Corbet" <corbet@....net>,
"Kees Cook" <keescook@...omium.org>,
"Liam Girdwood" <lgirdwood@...il.com>,
"Mark Brown" <broonie@...nel.org>,
"Matti Vaittinen" <mazziesaccount@...il.com>,
"Maxime Ripard" <mripard@...nel.org>,
"Rae Moar" <rmoar@...gle.com>,
"Shuah Khan" <skhan@...uxfoundation.org>,
"Stephen Boyd" <sboyd@...nel.org>, "Takashi Iwai" <tiwai@...e.com>
Subject: Re: [PATCH v2 1/4] kunit: Add APIs for managing devices
On Fri, 8 Dec 2023 18:09:29 +0800, davidgow@...gle.com wrote:
> Tests for drivers often require a struct device to pass to other
> functions. While it's possible to create these with
> root_device_register(), or to use something like a platform device, this
> is both a misuse of those APIs, and can be difficult to clean up after,
> for example, a failed assertion.
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Powered by blists - more mailing lists