summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2018-09-19 20:29:56 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-20 07:20:22 +0300
commit49dd80541c75c2f21c28bbbdd958e993b55bf97b (patch)
treeff5c685869c97555c7cc2d27a21e54e68fa2864f /tools/perf/scripts/python/call-graph-from-sql.py
parent37dc9cdbdc1bd64bd3b6ea285a9c2e811404dc82 (diff)
downloadlinux-49dd80541c75c2f21c28bbbdd958e993b55bf97b.tar.xz
net: hns3: Clear client pointer when initialize client failed or unintialize finished
If initialize client failed or finish uninitializing client, we should clear the client pointer. It may cause unexpected result when use uninitialized client. Meanwhile, we also should check whether client exist when uninitialize it. Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions