+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In case of error, the function xenbus_read() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 71ebd719 ("xen/9pfs: connect to the backend") Signed-off-by:Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by:
Stefano Stabellini <sstabellini@kernel.org>