]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: update parse_args() return value handling
authorMartin George <marting@netapp.com>
Sun, 30 Jun 2024 07:39:07 +0000 (13:09 +0530)
committerDaniel Wagner <wagi@monom.org>
Mon, 1 Jul 2024 13:35:46 +0000 (15:35 +0200)
commitcfca8a451bb13b88ed36a27acfe6cc19a477eef7
tree19013c674daf7a011f58f5c98e52639cbdc9ce91
parentb52e85d64db0ec82ad6bafabf8a535e9d46a0453
nvme: update parse_args() return value handling

Treat non-zero return values from parse_args() as errors, and not
just negative return values. Also makes this consistent with other
functions in nvme.c where parse_args() is invoked.

Signed-off-by: Martin George <marting@netapp.com>
nvme.c