[ Upstream commit a39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee ]
There are only 2 callers of scif_get_new_port() and both appear to get
the error handling wrong. Both treat zero returns as error, but it
actually returns negative error codes and >= 0 on success.
Fixes:
|
||
---|---|---|
.. | ||
bus | ||
card | ||
common | ||
cosm | ||
cosm_client | ||
host | ||
scif | ||
Kconfig | ||
Makefile |