Skip to content

tests: fix nvme_copy_test setUp after the ocfs to cdfs rename - #4489

Merged
igaw merged 1 commit into
linux-nvme:masterfrom
Micron-ITP-OSS:bgoing/cdfs-test-failure-fix
Dec 2, 2026
Merged

igaw merged 1 commit into
linux-nvme:masterfrom
Micron-ITP-OSS:bgoing/cdfs-test-failure-fix

Conversation

@brgoing

@brgoing brgoing commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Commit 6544979 ("nvme-types-base: fix nvme_id_ctrl ocfs field name to cdfs") renamed the id-ctrl output key from "ocfs" to "cdfs" but left the test helper reading "ocfs", so every nvme_copy_test subtest failed in setUp with "reading field 'ocfs' failed".

Rename get_ocfs() to get_cdfs() and read the "cdfs" key. Also update the name for the field in the nvme_id_ctrl kernel-doc to use the matching Copy Descriptor Formats Supported name used in the spec (NVMe Base 2.1).

Commit 6544979 ("nvme-types-base: fix nvme_id_ctrl ocfs field name
to cdfs") renamed the id-ctrl output key from "ocfs" to "cdfs" but
left the test helper reading "ocfs", so every nvme_copy_test subtest
failed in setUp with "reading field 'ocfs' failed".

Rename get_ocfs() to get_cdfs() and read the "cdfs" key. Also update the
name for the field in the nvme_id_ctrl kernel-doc to use the matching
Copy Descriptor Formats Supported name used in the spec (NVMe Base 2.1).

Signed-off-by: Broc Going <bgoing@micron.com>
@igaw

igaw commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Ooops. Sorry about that. Thanks for the fix!

@igaw
igaw merged commit 3cd30a3 into linux-nvme:master Dec 2, 2026
39 checks passed
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