mirror of
https://github.com/RustyRaptor/riscv-linux.git
synced 2026-12-05 09:25:30 -07: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>