diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:59:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:59:55 +0000 |
commit | 4db51231d9338c31a1182fcb225e9fd7f57db258 (patch) | |
tree | f83fa4e90727c4891001f956f02cf5a9500f6c05 /nvme-wrap.c | |
parent | Releasing debian version 2.3-2. (diff) | |
download | nvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.tar.xz nvme-cli-4db51231d9338c31a1182fcb225e9fd7f57db258.zip |
Merging upstream version 2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'nvme-wrap.c')
-rw-r--r-- | nvme-wrap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nvme-wrap.c b/nvme-wrap.c index ae7cd92..cee9b23 100644 --- a/nvme-wrap.c +++ b/nvme-wrap.c @@ -158,6 +158,12 @@ int nvme_cli_get_log(struct nvme_dev *dev, struct nvme_get_log_args *args) return do_admin_args_op(get_log, dev, args); } +int nvme_cli_get_log_page(struct nvme_dev *dev, __u32 xfer_len, + struct nvme_get_log_args *args) +{ + return do_admin_op(get_log_page, dev, xfer_len, args); +} + int nvme_cli_get_nsid_log(struct nvme_dev *dev, bool rae, enum nvme_cmd_get_log_lid lid, __u32 nsid, __u32 len, void *log) |