Skip to content
Commit d40a0946 authored by Eric Biggers's avatar Eric Biggers Committed by Greg Kroah-Hartman
Browse files

misc: mic: fix incorrect use of error codes in SCIF DMA driver



The error code passed to ERR_PTR() always should be negated.  Also, the
return value of scif_add_mmu_notifier() was never checked.

Signed-off-by: default avatarEric Biggers <ebiggers3@gmail.com>
Reviewed-by: default avatarSudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d0ce9c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment