Skip to content

Feature overlap range#3212

Merged
igaw merged 3 commits intolinux-nvme:masterfrom
ikegami-t:feature-overlap-range
Mar 30, 2026
Merged

Feature overlap range#3212
igaw merged 3 commits intolinux-nvme:masterfrom
ikegami-t:feature-overlap-range

Conversation

@ikegami-t
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread nvme-print.c Outdated

static void nvme_show_cmd_err(const char *msg, bool admin,
struct nvme_passthru_cmd *cmd, int err)
static void nvme_show_cmd_err(const char *msg, bool admin, __u8 *opcode,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to use pass by value here: __u8 opcode.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fixed as suggested.

Comment thread libnvme/src/nvme/util.h

return NULL;
};

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind to add the other command specific status values here as well while at it? Thanks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also added the other command specific status values. Thank you.

Since previously always use false without the admin value.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Since only cmd parameter opcode value used by the print function.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Since the status code is duplicated with the fw-download status code.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
@ikegami-t ikegami-t force-pushed the feature-overlap-range branch from 7da1df8 to e848bfc Compare March 30, 2026 15:43
@igaw igaw merged commit cdf693f into linux-nvme:master Mar 30, 2026
29 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Mar 30, 2026

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