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
double.h -rw-r--r-- 6.2 KB
op-1.h -rw-r--r-- 9.2 KB
op-2.h -rw-r--r-- 19.5 KB
op-4.h -rw-r--r-- 23.2 KB
op-8.h -rw-r--r-- 3.8 KB
op-common.h -rw-r--r-- 26.0 KB
quad.h -rw-r--r-- 6.5 KB
single.h -rw-r--r-- 3.8 KB
soft-fp.h -rw-r--r-- 5.1 KB

back to top