Skip to content

Conversation

@junjin-reflect
Copy link
Contributor

When writing the key multiple times, the error logs cannot indicate that the key writing has failed. Fixed the issue of response handling errors at this commit.

fprintf(stderr, "Program Key recv error = 0x%x\n", err);
else
err = check_rpmb_response(req, rsp, "Failed to Program Key");
out:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please follow the style from above, test for error print warning bail out. Also check the coding style. The commit message needs also more attention.

@igaw
Copy link
Collaborator

igaw commented May 15, 2025

@junjin-reflect any updates on this one?

Fixed the issue of response handling errors when program key multiple
times.

[wagi: updated commit message and fixed whitespace issues]
Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit 16f67cc into linux-nvme:master Jul 25, 2025
14 of 16 checks passed
@igaw
Copy link
Collaborator

igaw commented Jul 25, 2025

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