commit | d86fb45b5c52d8f2a3e78e81afd85a2a9d4478d7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 26 22:12:49 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 03 16:15:30 2015 +0200 |
tree | 868fe4e57c07519ee047e519530391e30565f55a | |
parent | 127af8828518074ab24e9b5678229513d198d832 [diff] |
mcb: request_mem_region() returns NULL on error The code here is checking for IS_ERR() when request_mem_region() only returns NULL on error and never an ERR_PTR. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>