]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
ocp: fix to return c9 log page data error to open file
authorTokunori Ikegami <ikegami.t@gmail.com>
Sun, 1 Sep 2024 14:02:58 +0000 (23:02 +0900)
committerDaniel Wagner <wagi@monom.org>
Mon, 9 Sep 2024 07:12:56 +0000 (09:12 +0200)
commit75ba96aab29d5c5ae69e56daa1ca2aa9d5592d16
tree11d9673e50797586f301d6ae0588ccb65d75e735
parent835bf029d2d45c5c3cfa72919928da7ceb5875f4
ocp: fix to return c9 log page data error to open file

Use _cleanup_fd_ function so delete close() call and goto statement.
Also fix some minor coding style errors around the code.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
plugins/ocp/ocp-nvme.c