summaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-pr-decoupler.c
diff options
context:
space:
mode:
authorDan Carpenter2018-08-02 10:42:22 +0200
committerGreg Kroah-Hartman2018-08-05 16:29:11 +0200
commita39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee (patch)
treec5fccfac26dd54e4296ed2f4bbe20907264a6b96 /drivers/fpga/xilinx-pr-decoupler.c
parentmisc: cxl: changed asterisk position (diff)
downloadkernel-qcow2-linux-a39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee.tar.gz
kernel-qcow2-linux-a39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee.tar.xz
kernel-qcow2-linux-a39284ae9d2ad09975c8ae33f1bd0f05fbfbf6ee.zip
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: e9089f43c9a7 ("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>
Diffstat (limited to 'drivers/fpga/xilinx-pr-decoupler.c')
0 files changed, 0 insertions, 0 deletions