diff options
author | 2017-05-16 14:22:47 +0000 | |
---|---|---|
committer | 2017-05-18 11:42:32 -0700 | |
commit | 14e3995e63759b80eb22a3c06958d105db4d3f79 (patch) | |
tree | 683e8a787d1a45bb593c2f45a1042bd60428a79f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xen: adjust early dom0 p2m handling to xen hypervisor behavior (diff) | |
download | linux-dev-14e3995e63759b80eb22a3c06958d105db4d3f79.tar.xz linux-dev-14e3995e63759b80eb22a3c06958d105db4d3f79.zip |
xen/9pfs: fix return value check in xen_9pfs_front_probe()
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions