Skip to content

Conversation

@ikegami-t
Copy link

Replace the struct args approach by providing init function for initializing the passthru commands. This reduces the dependency between callside and library.

igaw and others added 2 commits October 17, 2025 18:32
Replace the struct args approach by providing init function for
initializing the passthru commands. This reduces the dependency between
callside and library.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
Replace the struct args approach by providing init function for
initializing the passthru commands. This reduces the dependency between
callside and library.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
@ikegami-t
Copy link
Author

Changes for the libnvme3 build error below.

[76/110] Compiling C object libnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._nvme_wrap.c.o
FAILED: libnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._nvme_wrap.c.o
cc -Ilibnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p -Ilibnvme -I../libnvme -I. -I.. -Iccan -I../ccan -Isrc -I../src -Iinternal -I../internal -I/usr/include/json-c -I/usr/include/python3.13 -I/usr/include/x86_64-linux-gnu/python3.13 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -fomit-frame-pointer -D_GNU_SOURCE -fPIC -MD -MQ libnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._nvme_wrap.c.o -MF libnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._nvme_wrap.c.o.d -o libnvme/_nvme.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._nvme_wrap.c.o -c libnvme/nvme_wrap.c
libnvme/nvme_wrap.c: In function ‘nvme_ctrl_supported_log_pages’:
libnvme/nvme_wrap.c:3844:27: error: implicit declaration of function ‘nvme_get_log_supported_log_pages’; did you mean ‘nvme_ctrl_supported_log_pages’? [-Wimplicit-function-declaration]
 3844 |                     ret = nvme_get_log_supported_log_pages(nvme_ctrl_get_transport_handle(self), rae, &log);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           nvme_ctrl_supported_log_pages

@igaw
Copy link

igaw commented Oct 20, 2025

ah okay, I'll look into it tomorrow. Running out of steam for today.

@igaw
Copy link

igaw commented Oct 21, 2025

I've added your patch the nvme_get_log patch. Thanks!

@igaw igaw closed this Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants