diff options
author | Daniel Wagner <[email protected]> | 2022-10-07 09:29:34 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-10-19 12:43:13 +0200 |
commit | 94f5a06884074dcd99606d7b329e133ee65ea6ad (patch) | |
tree | f45a99916e583dd8c721b8084057993686e3455c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ddd2b8de9f85b388925e7dc46b3890fc1a0d8d24 (diff) |
nvmet: fix invalid memory reference in nvmet_subsys_attr_qid_max_show
The item passed into nvmet_subsys_attr_qid_max_show is not a member of
struct nvmet_port, it is part of nvmet_subsys. Hence, don't try to
dereference it as struct nvme_ctrl pointer.
Fixes: 3e980f5995e0 ("nvmet: Expose max queues to configfs")
Reported-by: Shinichiro Kawasaki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Wagner <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions