RedfishPkg: Fix some spelling mistakes found by cspell

When cspell is installed (via `npm install cspell`), CI checks for
spelling mistakes. There are currently a very large number of them: some
are genuine mistakes while others are words or acryonyms that cspell
doesn't know.

Fix a few of the misspellings in RedfishPkg.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
This commit is contained in:
Rebecca Cran 2024-07-30 10:00:30 -06:00 committed by mergify[bot]
parent ecb0d1e2cb
commit 1f6dbab8d9
3 changed files with 6 additions and 6 deletions

View File

@ -660,7 +660,7 @@ RestExHttpCallback (
then a new handle is created. If it is a pointer to an existing UEFI handle, then a new handle is created. If it is a pointer to an existing UEFI handle,
then the protocol is added to the existing UEFI handle. then the protocol is added to the existing UEFI handle.
@retval EFI_SUCCES The protocol was added to ChildHandle. @retval EFI_SUCCESS The protocol was added to ChildHandle.
@retval EFI_INVALID_PARAMETER ChildHandle is NULL. @retval EFI_INVALID_PARAMETER ChildHandle is NULL.
@retval EFI_OUT_OF_RESOURCES There are not enough resources available to create @retval EFI_OUT_OF_RESOURCES There are not enough resources available to create
the child the child
@ -762,7 +762,7 @@ RedfishRestExServiceBindingCreateChild (
goto ON_ERROR; goto ON_ERROR;
} }
// Initial HTTP callback funciton on this REST EX instance // Initial HTTP callback function on this REST EX instance
Instance->HttpCallbakFunction.Callback = RestExHttpCallback; Instance->HttpCallbakFunction.Callback = RestExHttpCallback;
Status = gBS->InstallProtocolInterface ( Status = gBS->InstallProtocolInterface (
&Instance->HttpIo.Handle, &Instance->HttpIo.Handle,
@ -771,7 +771,7 @@ RedfishRestExServiceBindingCreateChild (
&Instance->HttpCallbakFunction &Instance->HttpCallbakFunction
); );
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_ERROR, "%a: Fail to install HttpCallbakFunction.\n", __func__)); DEBUG ((DEBUG_ERROR, "%a: Fail to install HttpCallbackFunction.\n", __func__));
goto ON_ERROR; goto ON_ERROR;
} }
@ -803,7 +803,7 @@ ON_ERROR:
@param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance. @param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
@param[in] ChildHandle Handle of the child to destroy @param[in] ChildHandle Handle of the child to destroy
@retval EFI_SUCCES The protocol was removed from ChildHandle. @retval EFI_SUCCESS The protocol was removed from ChildHandle.
@retval EFI_UNSUPPORTED ChildHandle does not support the protocol that is being removed. @retval EFI_UNSUPPORTED ChildHandle does not support the protocol that is being removed.
@retval EFI_INVALID_PARAMETER Child handle is NULL. @retval EFI_INVALID_PARAMETER Child handle is NULL.
@retval EFI_ACCESS_DENIED The protocol could not be removed from the ChildHandle @retval EFI_ACCESS_DENIED The protocol could not be removed from the ChildHandle

View File

@ -110,7 +110,7 @@ RedfishCheckHttpReceiveStatus (
if the write to URL is permitted by Redfish service. This function if the write to URL is permitted by Redfish service. This function
checks if the HTTP request has Content-length in HTTP header. If yes, checks if the HTTP request has Content-length in HTTP header. If yes,
set HTTP body to NULL and then send to service. Check the HTTP status set HTTP body to NULL and then send to service. Check the HTTP status
for the firther actions. for the further actions.
@param[in] This Pointer to EFI_REST_EX_PROTOCOL instance for a particular @param[in] This Pointer to EFI_REST_EX_PROTOCOL instance for a particular
REST service. REST service.

View File

@ -373,7 +373,7 @@ InterpreterInstanceDestoryJsonStruct (
Status = EFI_UNSUPPORTED; Status = EFI_UNSUPPORTED;
// //
// Check if the namesapce and version is supported by this interpreter. // Check if the namespace and version is supported by this interpreter.
// //
ThisSupportedRsrcTypeId = InterpreterInstance->SupportedRsrcIndentifier; ThisSupportedRsrcTypeId = InterpreterInstance->SupportedRsrcIndentifier;
for (Index = 0; Index < InterpreterInstance->NumberOfNameSpaceToConvert; Index++) { for (Index = 0; Index < InterpreterInstance->NumberOfNameSpaceToConvert; Index++) {