Skip to content

feat: fix bugs in arbitration and power-thresh commands#3118

Open
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:feature-bugfixes
Open

feat: fix bugs in arbitration and power-thresh commands#3118
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:feature-bugfixes

Conversation

@jimmunn
Copy link
Contributor

@jimmunn jimmunn commented Feb 27, 2026

arbitration_set() used temp_thresh_feat instead of arbitration_feat in the error path, and feat_arbitration() passed TEMP_THRESH_DESC instead of ARBITRATION_DESC to parse_and_open().

power_thresh_set() used __u8 instead of __u16 for the ptv parameter, truncating the power threshold value.

arbitration_set() used temp_thresh_feat instead of arbitration_feat
in the error path, and feat_arbitration() passed TEMP_THRESH_DESC
instead of ARBITRATION_DESC to parse_and_open().

power_thresh_set() used __u8 instead of __u16 for the ptv parameter,
truncating the power threshold value.

Signed-off-by: Jim Munn <jlmunn@micron.com>
@ikegami-t
Copy link
Contributor

Looks good. Thank you for your fix. Sorry for the errors.

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