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

wdc: Fix timestamp displayed by vs-firmware-activate-history command #2239

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

jeff-lien-sndk
Copy link
Contributor

The actual timestamp value is in bytes 0:5 of the 8 byte field. The code was using all 8 bytes so a change was made to mask off the top 2 bytes. The timestamp calculations were also simplified to be more maintainable.

@jeff-lien-sndk jeff-lien-sndk force-pushed the wdc-timestamp-fix branch 3 times, most recently from 804c65a to ab7f3ae Compare March 13, 2024 20:32
The actual timestamp value is in bytes 0:5 of the 8 byte field.
The code was using all 8 bytes so a change was made to mask off
the top 2 bytes.  The timestamp calculations were also simplified
to be more maintainable.

Signed-off-by: jeff-lien-wdc <[email protected]>
Changes based on review comments.
Fixed build errors building timestamp string.
Fixed lines over the 100 char limit.

Signed-off-by: jeff-lien-wdc <[email protected]>
@jeff-lien-sndk
Copy link
Contributor Author

@martin-belanger @igaw Fixed build and checkpatch issues with the latest commits. Also addressed review comments from Martin. Thanks

@igaw igaw merged commit bd56678 into linux-nvme:master Mar 19, 2024
16 checks passed
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.

3 participants