Skip to content

Commit f8e60c6

Browse files
nvme-print: Add Sanitize Media Verification Event in PEL log
Add Sanitize Media Verification Event in Persistent Event Log. Signed-off-by: Francis Pravin <francis.p@samsung.com>
1 parent e6d0d47 commit f8e60c6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nvme-print-stdout.c

+3
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,9 @@ static void stdout_persistent_event_log(void *pevent_log_info,
518518
printf("Over Temperature: %u\n", thermal_exc_event->over_temp);
519519
printf("Threshold: %u\n", thermal_exc_event->threshold);
520520
break;
521+
case NVME_PEL_SANITIZE_MEDIA_VERIF_EVENT:
522+
printf("Sanitize Media Verification Event\n");
523+
break;
521524
default:
522525
printf("Reserved Event\n\n");
523526
break;

nvme-print.c

+2
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ static const char *pel_event_to_string(int type)
179179
return "Set Telemetry CRT Event";
180180
case NVME_PEL_THERMAL_EXCURSION_EVENT:
181181
return "Thermal Excursion Event";
182+
case NVME_PEL_SANITIZE_MEDIA_VERIF_EVENT:
183+
return "Sanitize Media Verification Event";
182184
case NVME_PEL_VENDOR_SPECIFIC_EVENT:
183185
return "Vendor Specific Event";
184186
case NVME_PEL_TCG_DEFINED_EVENT:

0 commit comments

Comments
 (0)