-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix mSecureHashAlgorithms name clash, part two #6449
base: master
Are you sure you want to change the base?
Conversation
kraxel
commented
Nov 18, 2024
- NetworkPkg/DxeNetLib: drop GLOBAL_REMOVE_IF_UNREFERENCED
- MdePkg/DxeRngLib: drop GLOBAL_REMOVE_IF_UNREFERENCED
Case in point: these two occurrences, where the arrays are of different types, and the use of Could we perhaps get rid of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: this should be
static EFI_GUID * CONST mSecureHashAlgorithms[]
if we're changing the code anyway.
Actually, it appears that So that a) makes this patch unnecessary, given that |
With mSecureHashAlgorithms being static this should not be needed any more. Suggested-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
With mSecureHashAlgorithms being static this should not be needed any more. Suggested-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ced3715
to
13c1b70
Compare
Agreed with @ardbiesheuvel with getting rid of |
I agree.
The meaning of the check for Which means that This commit removed support for VS2013 and older tool chains: 0363584 This means that This PR is not a critical bug fix because A more complete fix would be to remove |
Agreed. I failed to notice this when I brought it up. So we should fix this, but this PR can be omitted from the stable tag.
I can look into that. As part of that effort, any global variable that is only referenced from the source file that defines it should be made |