misc: mic/scif: fix error code in scif_create_remote_lookup()
We should be returning -ENOMEM here instead of success. Fixes: ba612aa8 ('misc: mic: SCIF memory registration and unregistration') Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by:
Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment