Re: [patch 1/2] misc: mic/scif: fix error code in scif_create_remote_lookup()

2015-10-11 Thread Sudeep Dutt
On Fri, 2015-10-09 at 09:41 +0300, Dan Carpenter wrote: > We should be returning -ENOMEM here instead of success. > Reviewed-by: Sudeep Dutt Thanks for the fix! > Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration') > Signed-off-by: Dan Carpenter > > diff --git a/dr

[patch 1/2] misc: mic/scif: fix error code in scif_create_remote_lookup()

2015-10-08 Thread Dan Carpenter
We should be returning -ENOMEM here instead of success. Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration') Signed-off-by: Dan Carpenter diff --git a/drivers/misc/mic/scif/scif_rma.c b/drivers/misc/mic/scif/scif_rma.c index e288996..bc2dccb 100644 --- a/drivers/misc/mi