commit | d40a09464401265e2894061cca388fb86e05b4be | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers3@gmail.com> | Fri Dec 11 20:09:16 2015 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 21:25:50 2016 -0800 |
tree | 412d786c8f8e1695b8eea3f9e290a05f8a39971f | |
parent | 0d0ce9c00b866090a69a2d63118b3e09cc71c96d [diff] |
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: Eric Biggers <ebiggers3@gmail.com> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>