]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: unify MI Get Log Page function with ioctl API
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 20 Jul 2022 02:32:18 +0000 (10:32 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Wed, 20 Jul 2022 02:32:18 +0000 (10:32 +0800)
commit0db5c133ab1d5e220c650ad35b8120f79070c95f
tree35d3620a3a1e11be0baea815126c404ed0f54eb9
parent11337761f72958be024a1d13b3d617f9b711b4ef
mi: unify MI Get Log Page function with ioctl API

In the MI interface, we currently have:

  nvme_mi_admin_get_log_page(...)

However, the ioctl-backed API equivalent doesn't use the _page:

  nvme_get_log(...)

This change makes the MI version consistent, where we have the
equivalent names, just with the mi_<type> prefix:

   nvme_mi_admin_get_log(...)

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
examples/mi-mctp.c
src/libnvme-mi.map
src/nvme/mi.c
src/nvme/mi.h