]> git.openfabrics.org - ~adrianc/mstflint.git/commitdiff
Fix spelling errors appearing in binaries
authorAdrian Chiris <adrianc@mellanox.com>
Thu, 25 Aug 2016 13:14:28 +0000 (16:14 +0300)
committerAdrian Chiris <adrianc@mellanox.com>
Thu, 25 Aug 2016 13:14:28 +0000 (16:14 +0300)
flint/cmd_line_parser.cpp
flint/err_msgs.h
flint/subcommands.cpp
mlxconfig/mlxcfg_param_lib.cpp
mlxconfig/mlxcfg_parser.cpp
mlxfwops/lib/fs2_ops.cpp
mlxfwops/lib/fw_ops.cpp
mtcr_ul/mtcr_ul_com.c

index 021a61c9b30f5fdc7d95d7e5cdae9c75b9d03942..7167b4c744c174b1be620c705d22fde8e812ef6d 100644 (file)
@@ -428,7 +428,7 @@ void Flint::initCmdParser() {
                 "<GUIDS...>",
                 "4 GUIDs must be specified here.\n"
                 "The specified GUIDs are assigned\n"
-                "to the following fields, repectively:\n"
+                "to the following fields, respectively:\n"
                 "node, port1, port2 and system image GUID.\n\n"
                 "Note: port2 guid must be specified even for a\n"
                 "single port HCA - The HCA ignores this value.\n"
@@ -450,7 +450,7 @@ void Flint::initCmdParser() {
                 "<MACs...>",
                 "2 MACs must be specified here.\n"
                 "The specified MACs are assigned\n"
-                "to port1, port2, repectively.\n"
+                "to port1, port2, respectively.\n"
                 "Commands affected: burn, sg\n\n"
                 "Note: -mac/-macs flags are applicable only for Mellanox\n"
                 "\tTechnologies ethernet products.");
index b7c160a2e555bbb1f51091714bbcbace8cd79003..6f8bc18e5e9dbba4e312f3dbca13de5a135c49ac 100644 (file)
@@ -59,8 +59,8 @@ typedef enum {
 #define FLINT_PARSE_MEM_ERROR                 "Failed to allocate memory for parsing.\n "
 #define FLINT_NO_OPTIONS_FOUND_ERROR          "No options found. "
 #define FLINT_INVALID_COMMAD_ERROR            "Invalid command: %s\n"
-#define FLINT_TOO_MANY_ARGS_ERROR             "Too many arguments. Expected: %d , Recieved: %d\n"
-#define FLINT_TOO_FEW_ARGS_ERROR              "Too few arguments. Expected: %d , Recieved: %d\n"
+#define FLINT_TOO_MANY_ARGS_ERROR             "Too many arguments. Expected: %d , Received: %d\n"
+#define FLINT_TOO_FEW_ARGS_ERROR              "Too few arguments. Expected: %d , Received: %d\n"
 #define FLINT_NO_COMMAND_ERROR                "No command found."
 #define FLINT_OPEN_FWOPS_DEVICE_ERROR         "Cannot open Device: %s. %s\n"
 #define FLINT_OPEN_FWOPS_IMAGE_ERROR          "Cannot open Image: %s. %s\n"
index e77937879ba19f9bb8a68a11e2013e2ef4efaaa2..a6741b7cb787b2c14bf3f652c59075b9c21f7c3c 100644 (file)
@@ -3613,7 +3613,7 @@ WbneSubCommand:: WbneSubCommand() {
     _param = "<addr> <size> <data ...>";
     _paramExp = "addr - address of block\n"
                 INDENTEX"size - size of data to write in bytes\n"
-                INDENTEX"data - data to write - space seperated dwords";
+                INDENTEX"data - data to write - space separated dwords";
     _example = FLINT_NAME" -d "MST_DEV_EXAMPLE1" wbne 0x10000 12 0x30000 0x76800 0x5a445a44";
     _v = Wtv_Dev;
     _minCmdParamNum = 3;
index 39f8b46154900bc6d69cd170c917328efa4c3eb0..1028e67dca2d47dd10bf5126bb772cf91f1b0d32 100644 (file)
@@ -83,7 +83,7 @@ enum {
     printf("-I- Data Sent:\n");\
     tools_open_##struct_name##_print(data_struct, stdout, 1)
 # define DEBUG_PRINT_RECIEVE(data_struct, struct_name)\
-    printf("-I- Data Recieved:\n");\
+    printf("-I- Data Received:\n");\
     tools_open_##struct_name##_print(data_struct, stdout, 1)
 #else
 # define DEBUG_PRINT_SEND(data_struct, struct_name)
@@ -1499,7 +1499,7 @@ bool VpiParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
-        errmsg("Failed to get VPI params capabilites. %s", m_err2str(rc));
+        errmsg("Failed to get VPI params capabilities. %s", m_err2str(rc));
         return false;
     }
     return suppRead && suppWrite;
index 6f9235dc88894a86303fa09500f4f4134787df7f..a534b0b9de1d2ab95fe7d6005f0cde306cf32039 100644 (file)
@@ -280,7 +280,7 @@ mlxCfgStatus MlxCfg::parseArgs(int argc, char* argv[])
         return err(true, "missing configuration arguments. For more information please run "MLXCFG_NAME" -h|--help.");
     }
     if (i != argc && (_mlxParams.cmd == Mc_Reset || _mlxParams.cmd == Mc_Query)) {
-        return err(true, "%s command expects no argument but %d argument recieved", (_mlxParams.cmd == Mc_Reset) ? "reset" : "query", argc -i);
+        return err(true, "%s command expects no argument but %d argument received", (_mlxParams.cmd == Mc_Reset) ? "reset" : "query", argc -i);
     }
     if ((_mlxParams.cmd == Mc_Set || _mlxParams.cmd == Mc_Clr_Sem || _mlxParams.cmd == Mc_Set_Raw || _mlxParams.cmd == Mc_Backup) && _mlxParams.device.length() == 0) {
         return err(true, "%s command expects device to be specified.",
index 3cd3606352df7e7ef0c760222a5dbf7793f04834..7268ee3e48310904260666aaad24eefb5a320db8 100644 (file)
@@ -1804,7 +1804,7 @@ bool Fs2Operations::FwBurnRom(FImage* romImg, bool ignoreProdIdCheck, bool ignor
     u_int32_t cntx_image_num;
     FindAllImageStart(romImg, cntx_image_start, &cntx_image_num, _cntx_magic_pattern);
     if (cntx_image_num != 0) {
-        return errmsg("Expecting an expansion ROM image, Recieved Mellanox FW image.");
+        return errmsg("Expecting an expansion ROM image, Received Mellanox FW image.");
     }
 
     if (!Fs2IntQuery()) {
index 98130d58237c7c062204743dc33781f98e0b3a93..34a8fc7407fc7d82c06642d81d22641181aac6f1 100644 (file)
@@ -827,7 +827,7 @@ bool FwOperations::writeImage(ProgressCallBack progressFunc, u_int32_t addr, voi
             u_int32_t new_perc = ((cnt - towrite + alreadyWrittenSz) * 100) / totalSz;
 
                     if (progressFunc((int)new_perc)) {
-                        return errmsg("Aborting... recieved interrupt signal");
+                        return errmsg("Aborting... received interrupt signal");
                     }
             }
         }
index 52e8fe60854f6851d077ea8c06e0745a451f7524..ea0ac9bcb180589d787eda46c23e7b9b86897b88 100644 (file)
@@ -2264,7 +2264,7 @@ static int mreg_send_raw(mfile *mf, u_int16_t reg_id, maccess_reg_method_t metho
     memcpy(reg_data, buffer + OP_TLV_SIZE + REG_TLV_HEADER_LEN, reg_size);
 
 #ifdef _ENABLE_DEBUG_
-    fprintf(stdout, "-I-Tlv's of Data Recieved:\n");
+    fprintf(stdout, "-I-Tlv's of Data Received:\n");
     fprintf(stdout, "\tOperation Tlv\n");
     OperationTlv_dump(&tlv, stdout);
     fprintf(stdout, "\tReg Tlv\n");