Re: [PATCH v2 1/2] wwan: core: Avoid returning NULL from wwan_create_dev()

From: Loic Poulain
Date: Fri Aug 06 2021 - 05:20:03 EST


On Fri, 6 Aug 2021 at 11:00, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> Make wwan_create_dev() to return either valid or error pointer,
> In some cases it may return NULL. Prevent this by converting
> it to the respective error pointer.
>
> Fixes: 9a44c1cc6388 ("net: Add a WWAN subsystem")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>