Thread (9 messages) flat view 9 messages, 4 authors, 2021-08-11

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

From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Date: 2021-08-06 09:15:27
Also in: lkml

On Fri, Aug 6, 2021 at 12:00 PM Andy Shevchenko
[off-list ref] 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@linux.intel.com>
---
v2: rewrote to return error pointer, align callers (Loic)
Acked-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help