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

Remove reference to BaseSortLib library #43

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

ghbaccount
Copy link
Contributor

There are two problems with BaseSortLib reference: 1 BaseSortLib is the library instance name not the class name. 2 UefiSortLib instance from MdeModulePkg is also referenced below.

Let's use only one reference to SortLib.
While Redfish Client uses only quick sort for char* elements, UefiSortLib is preferred as it allows to sort DevicePath instances and wide strings.

Signed-off-by: Mike Maslenkin mike.maslenkin@gmail.com
Cc: Abner Chang abner.chang@amd.com
Cc: Nickle Wang nicklew@nvidia.com
Cc: Igor Kulchytskyy igork@ami.com

There are two problems with BaseSortLib reference:
1 BaseSortLib is the library instance name not the class name.
2 UefiSortLib instance from MdeModulePkg is also referenced below.

Let's use only one reference to SortLib.
While Redfish Client uses only quick sort for char* elements,
UefiSortLib is preferred as it allows to sort DevicePath instances and
wide strings.

Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
@ghbaccount ghbaccount force-pushed the remove_basesortlib_reference branch from 59eaf26 to 677a5aa Compare June 30, 2023 21:44
@ghbaccount
Copy link
Contributor Author

Since edk2 was updated, this PR needs to be rerun.

@changab changab merged commit 2248a4d into tianocore:main Jul 1, 2023
4 checks passed
@ghbaccount ghbaccount deleted the remove_basesortlib_reference branch July 7, 2023 09:03
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.

None yet

2 participants