commit | 0de6fd5fd51c8c3bbc8e023111ea4fba9b72816b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Aug 11 16:39:32 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 12 10:55:07 2021 +0100 |
tree | d48bd365e51f0fab56d09f66edcf14f73cc56db4 | |
parent | 7428022b50d0fbb4846dd0f00639ea09d36dff02 [diff] |
wwan: core: Unshadow error code returned by ida_alloc_range() ida_alloc_range() may return other than -ENOMEM error code. Unshadow it in the wwan_create_port(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>