-
由 Wei Yongjun 提交于
In case of error, the function dfl_fme_create_region() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 29de7624 ("fpga: dfl: fme: add partial reconfiguration sub feature support") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Acked-by: NMoritz Fischer <mdf@kernel.org> Acked-by: NAlan Tull <atull@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
029d727b