Skip to content

Conversation

@hmi-jeon
Copy link
Contributor

@hmi-jeon hmi-jeon commented Jan 8, 2025

No description provided.

@hmi-jeon
Copy link
Contributor Author

hmi-jeon commented Jan 8, 2025

Hi @igaw

I'm really sorry.
When I update ocp v2.6 smart information extended, there is missing data when printing.
Thanks.

le16_to_cpu(log->media_dies_offline));
json_object_add_value_uint(root, "Max temperature recorded",
le16_to_cpu(log->max_temperature_recorded));
log->max_temperature_recorded);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dropping le16_to_cpu looks wrong.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a forget it, it's a u8

@igaw igaw merged commit 012c17b into linux-nvme:master Jan 8, 2025
16 of 17 checks passed
@igaw
Copy link
Collaborator

igaw commented Jan 8, 2025

No worries, this can happen. The important thing is to fix it! :)
Thanks!

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