aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-03-13 18:55:01 +0100
committerJens Axboe <[email protected]>2019-03-13 12:05:40 -0600
commit06f3d71ea071b70e62bcc146cd9ff7ed1f9d4e43 (patch)
treee4c07ae138466f556497663c143033e7d3ab0d6f /tools/perf/scripts/python/exported-sql-viewer.py
parent9f7d8ae2f79479ce13d987c8f3b1500b8937fc5d (diff)
nvme-fc: fix numa_node when dev is null
A recent change added a numa_node field to the nvme controller and has the transport assign the node using dev_to_node(). However, fcloop registers with a NULL device struct, so the dev_to_node() call oops. Revise the assignment to assign no node when device struct is null. Fixes: 103e515efa89b ("nvme: add a numa_node field to struct nvme_ctrl") Reported-by: Mike Snitzer <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> [hch: small coding style fixup] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions