aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/socfpga.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-08-11 12:48:45 +0000
committerJakub Kicinski <[email protected]>2021-08-12 16:53:02 +0000
commitd9d5b8961284b0051726e0fcda91d1e297e087f5 (patch)
tree986a08a3f91835c25638b3dc4d99f8e4b64b2360 /drivers/fpga/socfpga.c
parentnet: dsa: sja1105: unregister the MDIO buses during teardown (diff)
downloadkernel-d9d5b8961284b0051726e0fcda91d1e297e087f5.tar.gz
kernel-d9d5b8961284b0051726e0fcda91d1e297e087f5.zip
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 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions