diff options
author | Andy Shevchenko <[email protected]> | 2021-08-11 15:48:45 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-08-12 09:53:02 -0700 |
commit | d9d5b8961284b0051726e0fcda91d1e297e087f5 (patch) | |
tree | 986a08a3f91835c25638b3dc4d99f8e4b64b2360 /tools/perf/scripts/python | |
parent | 700fa08da43edb0af3e6a513f0255443e96088e8 (diff) |
wwan: core: Avoid returning NULL from wwan_create_dev()
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 <[email protected]>
Acked-by: Sergey Ryazanov <[email protected]>
Reviewed-by: Loic Poulain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions