Skip to content

Commit f62f9ad

Browse files
maurizio-lombardiigaw
authored andcommitted
nvme-print: add the cancel opcode to the nvme_cmd_to_string() list
Print the correct opcode name instead of "Unknown". Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
1 parent 4893724 commit f62f9ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nvme-print.c

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ const char *nvme_cmd_to_string(int admin, __u8 opcode)
101101
case nvme_cmd_resv_report: return "Reservation Report";
102102
case nvme_cmd_resv_acquire: return "Reservation Acquire";
103103
case nvme_cmd_resv_release: return "Reservation Release";
104+
case nvme_cmd_cancel: return "Cancel";
104105
case nvme_cmd_verify: return "Verify";
105106
case nvme_cmd_copy: return "Copy";
106107
case nvme_zns_cmd_mgmt_send: return "Zone Management Send";

0 commit comments

Comments
 (0)