Revision 14e3995e63759b80eb22a3c06958d105db4d3f79 authored by Wei Yongjun on 16 May 2017, 14:22:47 UTC, committed by Stefano Stabellini on 18 May 2017, 18:42:32 UTC
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: 71ebd71921e4 ("xen/9pfs: connect to the backend")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
1 parent 69861e0
History
File Mode Size
altera.h -rw-r--r-- 1.4 KB
cxl-base.h -rw-r--r-- 1.8 KB
cxl.h -rw-r--r-- 12.7 KB

back to top