mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
RedfishPkg/RedfishPlatformConfigDxe: remove false alarm
Change the debug message level to DEBUG_INFO for protocol notification functions. The protocol notification function is invoked at least one time. So, the failure of locating protocol is expected because protocol may not be installed when Redfish platform config driver is launched. Signed-off-by: Nickle Wang <nicklew@nvidia.com> Cc: Abner Chang <abner.chang@amd.com> Cc: Igor Kulchytskyy <igork@ami.com> Cc: Rebecca Cran <rebecca@bsdio.com>
This commit is contained in:
parent
497766f709
commit
3abe627f29
@ -2483,7 +2483,7 @@ HiiStringProtocolInstalled (
|
||||
(VOID **)&mRedfishPlatformConfigPrivate->HiiString
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a: locate EFI_HII_STRING_PROTOCOL failure: %r\n", __func__, Status));
|
||||
DEBUG ((DEBUG_INFO, "%a: locate EFI_HII_STRING_PROTOCOL failure: %r\n", __func__, Status));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2518,7 +2518,7 @@ HiiDatabaseProtocolInstalled (
|
||||
(VOID **)&mRedfishPlatformConfigPrivate->HiiDatabase
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a: locate EFI_HII_DATABASE_PROTOCOL failure: %r\n", __func__, Status));
|
||||
DEBUG ((DEBUG_INFO, "%a: locate EFI_HII_DATABASE_PROTOCOL failure: %r\n", __func__, Status));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2581,7 +2581,7 @@ RegexProtocolInstalled (
|
||||
(VOID **)&mRedfishPlatformConfigPrivate->RegularExpressionProtocol
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_ERROR, "%a: locate EFI_REGULAR_EXPRESSION_PROTOCOL failure: %r\n", __func__, Status));
|
||||
DEBUG ((DEBUG_INFO, "%a: locate EFI_REGULAR_EXPRESSION_PROTOCOL failure: %r\n", __func__, Status));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user