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

nvme: fix rnlpt to_string() values. #1910

Merged
merged 1 commit into from
Apr 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions nvme-print.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,10 +610,10 @@ void nvme_show_lba_status_log(void *lba_status, __u32 size,
static const char *resv_notif_to_string(__u8 type)
{
switch (type) {
case 0x1: return "Empty Log Page";
case 0x2: return "Registration Preempted";
case 0x3: return "Reservation Released";
case 0x4: return "Reservation Preempted";
case 0x0: return "Empty Log Page";
case 0x1: return "Registration Preempted";
case 0x2: return "Reservation Released";
case 0x3: return "Reservation Preempted";
default: return "Reserved";
}
}
Expand Down