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
Kconfig -rw-r--r-- 963 bytes
Makefile -rw-r--r-- 381 bytes
client.c -rw-r--r-- 52.0 KB
error.c -rw-r--r-- 7.4 KB
mod.c -rw-r--r-- 4.3 KB
protocol.c -rw-r--r-- 13.5 KB
protocol.h -rw-r--r-- 1.3 KB
trans_common.c -rw-r--r-- 797 bytes
trans_common.h -rw-r--r-- 546 bytes
trans_fd.c -rw-r--r-- 24.7 KB
trans_rdma.c -rw-r--r-- 18.3 KB
trans_virtio.c -rw-r--r-- 19.3 KB
trans_xen.c -rw-r--r-- 13.5 KB
util.c -rw-r--r-- 3.2 KB

back to top