]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: prettify the fdp event printing
authorKlaus Jensen <k.jensen@samsung.com>
Thu, 26 Jan 2023 08:38:40 +0000 (09:38 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Thu, 26 Jan 2023 08:41:16 +0000 (09:41 +0100)
commitc5e47f7148b99ecbc359a8ba3814fa77503bff03
treecb501b37687ea9a060f04bafef55c12552d29684
parent83066d7010ee4fc6cd0dcfcd749cc2cebd3ed534
nvme-print: prettify the fdp event printing

The default human readable printing of FDP events does not have to print
the event flags since they are only used to indicate the validity of
some of the fields.

Remove the flags from printing and use it to conditionally print valid
fields.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
nvme-print.c