diff options
author | Eric Biggers <ebiggers3@gmail.com> | 2015-12-12 02:09:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-08 05:25:50 (GMT) |
commit | d40a09464401265e2894061cca388fb86e05b4be (patch) | |
tree | 412d786c8f8e1695b8eea3f9e290a05f8a39971f /drivers/vlynq | |
parent | 0d0ce9c00b866090a69a2d63118b3e09cc71c96d (diff) | |
download | linux-d40a09464401265e2894061cca388fb86e05b4be.tar.xz |
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>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions