mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
We should be returning -ENOMEM here instead of success.
Fixes: ba612aa8b4 ('misc: mic: SCIF memory registration and unregistration')
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Sudeep Dutt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>