]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: Unify flag passing into functions
authorDaniel Wagner <dwagner@suse.de>
Tue, 30 May 2023 07:42:59 +0000 (09:42 +0200)
committerDaniel Wagner <wagi@monom.org>
Mon, 5 Jun 2023 06:43:35 +0000 (08:43 +0200)
commit62a0ce163a3c7f5231052c23a436582018a7489b
tree0a2fbfe30f9cdd8d7bd64bfc2769dd1eb370f59d
parent6f7ced9898c93ff3538307fbc44bdfecd62a5d77
nvme-print: Unify flag passing into functions

Use the 'enum nvme_print_flags' type consistently everywhere.
Furthermore, move the flag as last argument where needed.

While at it also do properly indent the functions arguments.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print.c
nvme-print.h
nvme.c
plugins/zns/zns.c