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

Use POST for provisioning Bios attributes #64

Merged
merged 3 commits into from
Dec 25, 2023

Conversation

ghbaccount
Copy link
Contributor

@ghbaccount ghbaccount commented Dec 14, 2023

This patch set contains small fixes and the one major change related to Bios resources provisioning.

@ghbaccount ghbaccount force-pushed the Use_POST_for_provisioning branch 2 times, most recently from 9b3d7fc to 3f9d119 Compare December 19, 2023 00:53
Initially RedfishPlatformConfigGetConfigureLang could return success
even if ConfigureLangList is empty. After fixing this condition,
RedfishPlatformConfigGetConfigureLang returns an error, but this doesn't
help to avoid ASSERT because the error path is the same as for non-empty
list.

Cc: Igor Kulchytskyy <[email protected]>
Signed-off-by: Mike Maslenkin <[email protected]>
Reviewed-by: Nickle Wang <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
Cc: Igor Kulchytskyy <[email protected]>
Signed-off-by: Mike Maslenkin <[email protected]>
Reviewed-by: Nickle Wang <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
It is possible that at the time of accessing to AsciiLocation pointer
the memory is not allocated.

Also gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) emits a warning for
this case:

RedfishFeatureUtilityLib.c:1889:37: error: 'AsciiLocation' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       *Location = StrAsciiToUnicode (AsciiLocation);

Cc: Igor Kulchytskyy <[email protected]>
Signed-off-by: Mike Maslenkin <[email protected]>
Reviewed-by: Nickle Wang <[email protected]>
Reviewed-by: Abner Chang <[email protected]>
@ghbaccount ghbaccount force-pushed the Use_POST_for_provisioning branch from 3f9d119 to c468a26 Compare December 21, 2023 22:21
@nicklela nicklela merged commit b9c1a3c into tianocore:main Dec 25, 2023
5 checks passed
@ghbaccount ghbaccount deleted the Use_POST_for_provisioning branch January 30, 2024 11:06
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