Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: Fix PMRWBM register name #828

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

ikegami-t
Copy link
Contributor

Incorrectly defined as PMRWMB.
Also add enum nvme_pmrcap documentation.

@@ -584,7 +603,7 @@ enum nvme_pmrcap {
#define NVME_PMRCAP_WDS(pmrcap) NVME_GET(pmrcap, PMRCAP_WDS)
#define NVME_PMRCAP_BIR(pmrcap) NVME_GET(pmrcap, PMRCAP_BIR)
#define NVME_PMRCAP_PMRTU(pmrcap) NVME_GET(pmrcap, PMRCAP_PMRTU)
#define NVME_PMRCAP_PMRWMB(pmrcap) NVME_GET(pmrcap, PMRCAP_PMRWMB)
#define NVME_PMRCAP_PMRWBM(pmrcap) NVME_GET(pmrcap, PMRCAP_PMRWBM)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe keep a compat around to avoid unnecessary incompatibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed the patch to remain the current definitions also as deprecated. Thank you.

Incorrectly defined as PMRWMB.
Also add enum nvme_pmrcap documentation.

Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
@igaw igaw merged commit 2ba04fe into linux-nvme:master Apr 30, 2024
14 checks passed
@igaw
Copy link
Collaborator

igaw commented Apr 30, 2024

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