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

OvmfPkg/BaseMemEncryptTdxLib: Refactor error handle of SetOrClearShar… #3921

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

jyao1
Copy link
Contributor

@jyao1 jyao1 commented Jan 18, 2023

…edBit

The previous implementation of SetOrClearSharedBit doesn't handle the error correctly. In this patch SetOrClearSharedBit is changed to return error code so that the caller can handle it.

Cc: Erdem Aktas erdemaktas@google.com
Cc: James Bottomley jejb@linux.ibm.com
Cc: Jiewen Yao jiewen.yao@intel.com
Cc: Gerd Hoffmann kraxel@redhat.com
Cc: Tom Lendacky thomas.lendacky@amd.com
Cc: Michael Roth michael.roth@amd.com
Reviewed-by: Jiewen Yao jiewen.yao@intel.com
Signed-off-by: Min Xu min.m.xu@intel.com

…edBit

The previous implementation of SetOrClearSharedBit doesn't handle the
error correctly. In this patch SetOrClearSharedBit is changed to return
error code so that the caller can handle it.

Cc: Erdem Aktas <erdemaktas@google.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Michael Roth <michael.roth@amd.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
@jyao1 jyao1 added the push Auto push patch series in PR if all checks pass label Jan 18, 2023
@mergify mergify bot merged commit 5c7a611 into tianocore:master Jan 18, 2023
@jyao1 jyao1 deleted the patch branch January 18, 2023 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants