mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-20 05:36:41 +00:00

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>