android_kernel_sony_sdm845/drivers/misc/mic
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter ebce88a8a6 misc: mic: SCIF Fix scif_get_new_port() error handling
[ 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: 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:47:12 +02:00
..
bus misc: mic: MIC VOP Bus 2016-02-09 17:32:37 -08:00
card misc: mic: MIC host and card driver changes to enable VOP 2016-02-09 17:32:37 -08:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state 2016-02-07 22:53:40 -08:00
cosm_client misc: mic: COSM client driver 2015-10-04 12:46:06 +01:00
host dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
scif misc: mic: SCIF Fix scif_get_new_port() error handling 2018-09-19 22:47:12 +02:00
vop misc: mic: double free on ioctl error path 2017-06-24 07:11:16 +02:00
Kconfig vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00