diff options
| author | Yang Yingliang <[email protected]> | 2021-06-07 15:02:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-07 21:08:30 +0000 |
| commit | 35cba15a504bf4f585bb9d78f47b22b28a1a06b2 (patch) | |
| tree | cb81223c3fcba6757d508cca7b8b588c5c99d00c /net/core/page_pool.c | |
| parent | l2tp: Fix spelling mistakes (diff) | |
| download | kernel-35cba15a504bf4f585bb9d78f47b22b28a1a06b2.tar.gz kernel-35cba15a504bf4f585bb9d78f47b22b28a1a06b2.zip | |
net: moxa: Use devm_platform_get_and_ioremap_resource()
Use devm_platform_get_and_ioremap_resource() to simplify
code and avoid a null-ptr-deref by checking 'res' in it.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions
