Files
twx-linux/drivers
Dan Carpenter fb9dabb6fc misc: mic: SCIF Fix scif_get_new_port() error handling
[ Upstream commit a39284ae9d ]

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: e9089f43c9 ("misc: mic: SCIF open close bind and listen APIs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-19 22:48:56 +02:00
..
2018-08-06 16:24:36 +02:00
2018-07-22 14:25:52 +02:00
…
…
…
…
…
…
2018-06-16 09:54:26 +02:00
2018-02-25 11:03:46 +01:00
2018-02-25 11:03:51 +01:00
2018-09-09 20:04:35 +02:00
2018-08-22 07:48:38 +02:00
…
…
…
…
…
2018-07-25 10:18:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…