Re: [PATCH] regmap: kunit: Fix an NULL vs IS_ERR() check

From: Markus Elfring
Date: Mon Apr 15 2024 - 12:01:00 EST


> The kunit_device_register() function returns error pointers, not NULL.
> Passing an error pointer to get_device() will lead to an Oops. Also
> get_device() returns the same device you passed to it. …

How do you think about to convert this adjustment into a patch series
with two update steps?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.9-rc4#n81

Regards,
Markus