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-print-stdout: fix persistent-event-log set feature event output #2439

Closed
wants to merge 1 commit into from

Conversation

xyzhang-up
Copy link
Contributor

@xyzhang-up xyzhang-up commented Jul 26, 2024

Refer to FDP Events Set Feature Data Structure:
the number of FDP Event Types is only Dword11 bits [23:16].
the buffer only contains FDP Event Type.

The value of mem_buf is incorrect:
the pointer 'set_feat_event' should be converted to 'unsigned char *' first

Refer to 'TP4146 Flexible Data Placement'
the number of FDP Event Types is only Dword11 bits [23:16]

Signed-off-by: Xiaoyuan Zhang <[email protected]>
@xyzhang-up xyzhang-up closed this Jul 26, 2024
@xyzhang-up xyzhang-up changed the title nvme-print: fix get-feature command fdp events num nvme-print-stdout: fix persistent-event-log set feature output Jul 27, 2024
@xyzhang-up xyzhang-up changed the title nvme-print-stdout: fix persistent-event-log set feature output nvme-print-stdout: fix persistent-event-log set feature event output Jul 27, 2024
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.

1 participant