lib: Remove negative error values from allocate_contiguous_memory_nomap
allocate_contiguous_memory_nomap returns an unsigned long yet it
was returning errno codes for various failures. Replace all negative
errno codes with 0, which is what all the callers expect on error anyway.
Change-Id: I3f847f70e0d7fa947a3442f43a980b3ffb1bfd96
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
(cherry picked from commit f319151ecf9bdb51295ddbf6ac8385f63fd4ae70)
Loading
Please register or sign in to comment