nvmet: fix typo in pr log enum
Subsystems (2)
PATCH 1/1 nvmet: fix typo in pr log enum
Fixes 1900e1a4495b ("nvme: add reservation command's defines")
Signed-off-by Dmitry Bogdanov <[email protected]>
--- drivers/nvme/target/pr.c | 2 +- include/linux/nvme.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/nvme/target/pr.c +1 -1
@@ -201,7 +201,7 @@ static void nvmet_pr_resv_preempted(struct nvmet_pr *pr, uuid_t *hostid)return ;nvmet_pr_send_event_to_host (pr, hostid, -NVME_PR_LOG_RESERVATOPM_PREEMPTED ); +NVME_PR_LOG_RESERVATION_PREEMPTED ); } static void nvmet_pr_registration_preempted(struct nvmet_pr *pr,
include/linux/nvme.h +1 -1
@@ -2106,7 +2106,7 @@ enum {NVME_PR_LOG_EMPTY_LOG_PAGE =0x00 ,NVME_PR_LOG_REGISTRATION_PREEMPTED =0x01 ,NVME_PR_LOG_RESERVATION_RELEASED =0x02 , - NVME_PR_LOG_RESERVATOPM_PREEMPTED = 0x03, + NVME_PR_LOG_RESERVATION_PREEMPTED = 0x03, }; enum {
Signature · 1 line
2.25.1
Keith Busch
maintainerQuoted 2 lines · Dmitry Bogdanov
Fixes 1900e1a4495b ("nvme: add reservation command's defines")Signed-off-by Dmitry Bogdanov <[email protected]>
Thanks, I folded this into the original commit.