Skip to content

get-log: use libnvme print getters - #4478

Merged
igaw merged 6 commits into
linux-nvme:masterfrom
ikegami-t:get-log-aer
Nov 29, 2026
Merged

igaw merged 6 commits into
linux-nvme:masterfrom
ikegami-t:get-log-aer

Conversation

@ikegami-t

Copy link
Copy Markdown
Contributor

Replace open coded field decoding.

Replace open coded field decoding.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
The libnvme field encoding setters duplicated and NVME_SET more simpler.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Replace open coded field decoding.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Replace open coded field decoding.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Replace open coded field decoding.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
The libnvme field encoding setters duplicated and NVME_SET more simpler.
Note: This was basically done by the Claude application.
Only the check-patch warnings fixed manually and NVME_FIELD_ENCODE deleted.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
@igaw
igaw merged commit 75b71a8 into linux-nvme:master Nov 29, 2026
39 checks passed
@igaw

igaw commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

Nice cleanup! Getting rid of the encode macro is a good idea. Thanks!

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