From 1f6dbab8d9d3b364cf873a5a04531ee4c2cbd637 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 30 Jul 2024 10:00:30 -0600 Subject: 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 --- RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.c | 8 ++++---- RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c | 2 +- RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.c b/RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.c index 741a8c1e93..e601bb633d 100644 --- a/RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.c +++ b/RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.c @@ -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 diff --git a/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c b/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c index b2961424de..0b38c1f0a6 100644 --- a/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c +++ b/RedfishPkg/RedfishRestExDxe/RedfishRestExImpl.c @@ -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. diff --git a/RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c b/RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c index 0da5132e5a..fba634f687 100644 --- a/RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c +++ b/RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c @@ -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++) { -- cgit