diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-26 22:12:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 17:15:30 +0300 |
commit | d86fb45b5c52d8f2a3e78e81afd85a2a9d4478d7 (patch) | |
tree | 868fe4e57c07519ee047e519530391e30565f55a /drivers/nubus | |
parent | 127af8828518074ab24e9b5678229513d198d832 (diff) | |
download | linux-d86fb45b5c52d8f2a3e78e81afd85a2a9d4478d7.tar.xz |
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>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions