]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-print: Use array array instead of ccan/list
authorDaniel Wagner <dwagner@suse.de>
Thu, 7 Oct 2021 07:06:28 +0000 (09:06 +0200)
committerDaniel Wagner <dwagner@suse.de>
Thu, 7 Oct 2021 07:15:12 +0000 (09:15 +0200)
commitcf2ab19f1881a8945bb07fa42dbbc018fc55f797
tree6f143c75109637a59c83ae9cc397754766c15d9a
parente074644a9fec6f2db89f27c49d7cb7da8bde32b4
nvme-print: Use array array instead of ccan/list

Commit 155fbebfe7b7 ("Update effects-log to handle multiple command
sets") added a dependency to libvnme/ccan which conflicts with making
the libnvme shared library.

We can simply replace the list by an fixed sized array as we know we
either have 1 or 2 elements in the list.

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