1
0
Files
linux/drivers
Dan Carpenter a39284ae9d misc: mic: SCIF Fix scif_get_new_port() error handling
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>
2018-08-05 16:29:11 +02:00
..
2018-07-16 09:04:54 +02:00
2018-06-30 21:24:18 +09:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-06-25 21:36:45 +08:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-07-16 09:04:54 +02:00
2018-07-16 09:04:54 +02:00
2018-06-12 16:19:22 -07:00
2018-06-28 20:29:47 +09:00
2018-06-28 20:29:47 +09:00