]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Unify print routines
authorKeith Busch <kbusch@kernel.org>
Tue, 29 Oct 2019 11:01:57 +0000 (20:01 +0900)
committerKeith Busch <kbusch@kernel.org>
Thu, 7 Nov 2019 23:00:59 +0000 (08:00 +0900)
commit2c413c9ad25b67a364546e52cd88d7dcd119d6bf
tree9e663b395ea977fd4fa59ef8a495dce90c06aabc
parenta78626b3762c5a51d181d9a81b4ba69eec364993
Unify print routines

Move all the binary/json/normal output handling into a single function
call for each structure that we print. This will reduce the API surface
that we have to maintain.

Signed-off-by: Keith Busch <kbusch@kernel.org>
nvme-ioctl.c
nvme-lightnvm.c
nvme-print.c
nvme-print.h
nvme-topology.c
nvme.c
nvme.h
plugins/lnvm/lnvm-nvme.c