aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2017-09-06 11:45:24 +0200
committerChristoph Hellwig <[email protected]>2017-09-11 12:29:36 -0400
commit608cc4b14aeadcf3e4dc325fc211b7052e74b50c (patch)
tree19f45967e83e8b033f1c3e60eef0f7c78047d41c /tools/perf/util/trace-event-scripting.c
parent09c2c359be546df45be0b158ea1d3cc8ea83c876 (diff)
nvme: fix lightnvm check
nvme_nvm_ns_supported assumes every device is a pci_dev, which leads to reading an incorrect field, or possible even a dereference of unallocated memory for fabrics controllers. Fix this by introducing a quirk for lighnvm capable devices instead. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Matias Bjørling <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions