]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: Fix show-topolocy for ctrls
authorDaniel Wagner <dwagner@suse.de>
Wed, 26 Jul 2023 13:44:34 +0000 (15:44 +0200)
committerDaniel Wagner <wagi@monom.org>
Thu, 27 Jul 2023 08:20:01 +0000 (10:20 +0200)
commit7c965a0482fdd792314accae8e1b00f1f81e9812
tree5a968942d9491a91ec9b5eb34e79f48d1dbf5d94
parentfa957f73d1dc21ea449f87c560b5f8addb649d1b
nvme-print: Fix show-topolocy for ctrls

Depending on the ranking command line argument we are supposed to show the
topology order by namespaces or ctrls.

Fixes: 1d583b7856db ("nvme-print-stdout: Refactor stdout print code to use print_ops")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print.c