Skip to content

Conversation

@ngm0
Copy link
Contributor

@ngm0 ngm0 commented Dec 16, 2025

the len param of dif_otp_ctrl_read_blocking() expects number of words. Fix the len parameter appropriately.

Signed-off-by: nagendra modadugu <ngm@meta.com>
@ngm0 ngm0 requested a review from a team as a code owner December 16, 2025 23:39
@ngm0 ngm0 requested review from alees24 and removed request for a team December 16, 2025 23:39
"Failed to perform OTP blocking readout.");
CHECK_DIF_OK(
dif_otp_ctrl_read_blocking(&otp, kDifOtpCtrlPartitionVendorTest, 0x10,
readout, sizeof(readout) / sizeof(uint32_t)),
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix. Can I suggest using ARRAYSIZE(readout) which is equivalent to your code?

@pamaury pamaury added the CI:Rerun Rerun failed CI jobs label Dec 17, 2025
@github-actions github-actions bot removed the CI:Rerun Rerun failed CI jobs label Dec 17, 2025
@pamaury pamaury requested a review from engdoreis December 17, 2025 10:33
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