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 #2440

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

xyzhang-up
Copy link
Contributor

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 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

Signed-off-by: Xiaoyuan Zhang <[email protected]>
@xyzhang-up xyzhang-up force-pushed the pel_fdp_events_bug branch from 100b0be to 9cf54c8 Compare July 27, 2024 08:12
@igaw igaw merged commit 9e137f0 into linux-nvme:master Jul 29, 2024
17 checks passed
@igaw
Copy link
Collaborator

igaw commented Jul 29, 2024

Thanks!

@xyzhang-up xyzhang-up deleted the pel_fdp_events_bug branch August 7, 2024 03:11
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.

2 participants