mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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:
parent
ecb0d1e2cb
commit
1f6dbab8d9
@ -660,7 +660,7 @@ RestExHttpCallback (
|
||||
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.
|
||||
|
||||
@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_OUT_OF_RESOURCES There are not enough resources available to create
|
||||
the child
|
||||
@ -762,7 +762,7 @@ RedfishRestExServiceBindingCreateChild (
|
||||
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;
|
||||
Status = gBS->InstallProtocolInterface (
|
||||
&Instance->HttpIo.Handle,
|
||||
@ -771,7 +771,7 @@ RedfishRestExServiceBindingCreateChild (
|
||||
&Instance->HttpCallbakFunction
|
||||
);
|
||||
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;
|
||||
}
|
||||
|
||||
@ -803,7 +803,7 @@ ON_ERROR:
|
||||
@param[in] This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance.
|
||||
@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_INVALID_PARAMETER Child handle is NULL.
|
||||
@retval EFI_ACCESS_DENIED The protocol could not be removed from the ChildHandle
|
||||
|
@ -110,7 +110,7 @@ RedfishCheckHttpReceiveStatus (
|
||||
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,
|
||||
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
|
||||
REST service.
|
||||
|
@ -373,7 +373,7 @@ InterpreterInstanceDestoryJsonStruct (
|
||||
|
||||
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;
|
||||
for (Index = 0; Index < InterpreterInstance->NumberOfNameSpaceToConvert; Index++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user