[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHNKnsSLQ9QpOk+YqqVKj3hJEJXMPGpazBV_hWngj2bwLp8LSQ@mail.gmail.com>
Date: Fri, 6 Aug 2021 12:15:10 +0300
From: Sergey Ryazanov <ryazanov.s.a@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>,
Loic Poulain <loic.poulain@...aro.org>,
Johannes Berg <johannes@...solutions.net>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH v2 1/2] wwan: core: Avoid returning NULL from wwan_create_dev()
On Fri, Aug 6, 2021 at 12:00 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> 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@...ux.intel.com>
> ---
> v2: rewrote to return error pointer, align callers (Loic)
Acked-by: Sergey Ryazanov <ryazanov.s.a@...il.com>
Powered by blists - more mailing lists