Skip to content

Commit 448c5cb

Browse files
authored
Merge pull request #218 from bdrung/fix-spelling-mistakes
Fix spelling mistakes
2 parents d873a08 + b40dc3c commit 448c5cb

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

cmdif/tools_cif.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ MError tcif_cr_mbox_supported(mfile *dev);
121121
* tcif_err2str:
122122
* @param[in] rc return code from one of the above functions
123123
124-
* @return string describing the error occured.
124+
* @return string describing the error occurred.
125125
**/
126126
const char* tcif_err2str(MError rc);
127127

fw_comps_mgr/fw_comps_mgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ void FwCompsMgr::deal_with_signal()
11721172
sig = mft_signal_is_fired();
11731173
if (sig) {
11741174
unlock_flash_semaphore();
1175-
// reset recieved signal
1175+
// reset received signal
11761176
mft_signal_set_fired(0);
11771177
// retore prev handler
11781178
mft_signal_set_handling(0);

fw_comps_mgr/fw_comps_mgr_dma_access.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ bool DMAComponentAccess::accessComponent(u_int32_t updateHandle, u_int32_t offse
297297
#ifndef UEFI_BUILD
298298
}
299299
catch (std::exception &e) {
300-
DPRINTF("DMAComponentAccess::Exception occured %s\n", e.what());
300+
DPRINTF("DMAComponentAccess::Exception occurred %s\n", e.what());
301301
return false;
302302
}
303303
#endif

mlxfwops/lib/fs2_ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ bool Fs2Operations::FwBurnRom(FImage *romImg, bool ignoreProdIdCheck, bool ignor
18591859
u_int32_t cntx_image_num;
18601860
FindAllImageStart(romImg, cntx_image_start, &cntx_image_num, _cntx_magic_pattern);
18611861
if (cntx_image_num != 0) {
1862-
return errmsg("Expecting an expansion ROM image, Recieved Mellanox FW image.");
1862+
return errmsg("Expecting an expansion ROM image, received Mellanox FW image.");
18631863
}
18641864

18651865
if (!Fs2IntQuery()) {

mlxfwops/lib/fsctrl_ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ bool FsCtrlOperations::FwReactivateImage()
211211
case FWCOMPS_IMAGE_REACTIVATION_FW_NOT_SUPPORTED:
212212
return errmsg(MLXFW_ERR, "Image reactivation - FW doesn't support this operation.\n");
213213
default:
214-
return errmsg(MLXFW_IMAGE_REACTIVATION_UNKNOWN_ERROR, "Unknown error occured\n");
214+
return errmsg(MLXFW_IMAGE_REACTIVATION_UNKNOWN_ERROR, "Unknown error occurred\n");
215215
}
216216
}
217217
return true;

mtcr_ul/mtcr_ib_ofed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ int mib_open(const char *name, mfile *mf, int mad_init)
733733
char *ep;
734734
u_int32_t sl = strtoul(sl_str, &ep, 0);
735735
if (*ep) {
736-
fprintf(stderr, "-E- Failed to parse env var %s (%s). Ignorring\n", MTCR_IBSL_ENV, sl_str);
736+
fprintf(stderr, "-E- Failed to parse env var %s (%s). Ignoring\n", MTCR_IBSL_ENV, sl_str);
737737
} else {
738738
ivm->portid.sl = (u_int8_t)sl;
739739
}

small_utils/mstfwreset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def reset_fsm_register():
239239
def sigHndl(signal, frame):
240240
reset_fsm_register()
241241

242-
print("\nSignal %d Recieved, Exiting..." % signal)
242+
print("\nSignal %d received, exiting..." % signal)
243243
sys.exit(1)
244244

245245
def set_signal_handler():
@@ -277,7 +277,7 @@ def printAndFlush(str, endChar='\n'):
277277
sys.stdout.flush()
278278

279279
######################################################################
280-
# Description: ask user Y/N question if N/n/No/no was recieved raise
280+
# Description: ask user Y/N question if N/n/No/no was received raise
281281
# RuntimeError.
282282
# OS Support : Linux/Windows.
283283
######################################################################

tools_layouts/tools_open_layouts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,7 @@ struct tools_open_mcdd_descriptor {
26962696
/* Description - Status of current operation that FW sends to host. */
26972697
/* 0x20.0 - 0x20.7 */
26982698
u_int8_t status;
2699-
/* Description - Last error index, if occured. */
2699+
/* Description - Last error index, if occurred. */
27002700
/* 0x20.8 - 0x20.15 */
27012701
u_int8_t error;
27022702
/* Description - Reserved. */

0 commit comments

Comments
 (0)