[Pkg-ofed-commits] [mstflint] 22/25: Fix typo recieved -> received

Benjamin Drung bdrung at moszumanska.debian.org
Tue Jan 3 11:58:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository mstflint.

commit 500bce413d30bf302609b3880cd7fab15c69d654
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Mon Jan 2 16:57:44 2017 +0100

    Fix typo recieved -> received
---
 debian/patches/Fix-typo-recieved-received.patch | 317 ++++++++++++++++++++++++
 debian/patches/series                           |   1 +
 2 files changed, 318 insertions(+)

diff --git a/debian/patches/Fix-typo-recieved-received.patch b/debian/patches/Fix-typo-recieved-received.patch
new file mode 100644
index 0000000..07d10b3
--- /dev/null
+++ b/debian/patches/Fix-typo-recieved-received.patch
@@ -0,0 +1,317 @@
+From: Benjamin Drung <benjamin.drung at profitbricks.com>
+Subject: Fix typo recieved -> received
+
+--- a/mft_utils/mft_sig_handler.c
++++ b/mft_utils/mft_sig_handler.c
+@@ -52,7 +52,7 @@
+ 
+ static void my_termination_handler(int sig)
+ {
+-    s_is_fired = sig; // assuming signals recieved are always different then zero
++    s_is_fired = sig; // assuming signals received are always different then zero
+     if (s_interrupt_message) {
+         fprintf(stderr, "%s", s_interrupt_message);
+     }
+@@ -147,7 +147,7 @@
+     int sig;
+     sig = mft_signal_is_fired();
+     if (sig) {
+-        // reset recieved signal
++        // reset received signal
+         mft_signal_set_fired(0);
+         // retore prev handler
+         mft_signal_set_handling(0);
+--- a/mlxconfig/mlxcfg_lib.cpp
++++ b/mlxconfig/mlxcfg_lib.cpp
+@@ -168,7 +168,7 @@
+     int sig;
+     sig = mft_signal_is_fired();
+     if (sig) {
+-        // reset recieved signal
++        // reset received signal
+         mft_signal_set_fired(0);
+         // retore prev handler
+         mft_signal_set_handling(0);
+--- a/mlxconfig/mlxcfg_param_lib.cpp
++++ b/mlxconfig/mlxcfg_param_lib.cpp
+@@ -204,7 +204,7 @@
+     int sig;
+     sig = mft_signal_is_fired();
+     if (sig) {
+-        // reset recieved signal
++        // reset received signal
+         mft_signal_set_fired(0);
+         // retore prev handler
+         mft_signal_set_handling(0);
+@@ -260,7 +260,7 @@
+     mft_signal_set_handling(1);
+     DEBUG_PRINT_SEND(&mnvaTlv, nvda);
+     rc = reg_access_nvda(mf, method, &mnvaTlv);
+-    DEBUG_PRINT_RECIEVE(&mnvaTlv, nvda);
++    DEBUG_PRINT_RECEIVE(&mnvaTlv, nvda);
+     dealWithSignal();
+     if (rc) {
+         return rc;
+@@ -462,7 +462,7 @@
+     DEBUG_PRINT_SEND(&bootSettingsExtTlv, boot_settings_ext);
+     rc = mnvaCom4thGen(mf, buff, tools_open_boot_settings_ext_size(), tlvTypeIdx, REG_ACCESS_METHOD_GET, _port);
+     // check rc
+-    DEBUG_PRINT_RECIEVE(&bootSettingsExtTlv, boot_settings_ext);
++    DEBUG_PRINT_RECEIVE(&bootSettingsExtTlv, boot_settings_ext);
+     if (rc) {// when attempting to get a nv_cfg tlv from device ME_REG_ACCESS_RES_NOT_AVLBL means - no valid
+              // tlv found. i.e default configuration are on.
+         if (rc == ME_REG_ACCESS_RES_NOT_AVLBL) {
+@@ -604,7 +604,7 @@
+     DEBUG_PRINT_SEND(&sriovTlv, sriov);
+     rc = mnvaCom4thGen(mf, buff, tools_open_sriov_size(), tlvTypeIdx, REG_ACCESS_METHOD_GET, 0);
+     // check rc
+-    DEBUG_PRINT_RECIEVE(&sriovTlv, sriov);
++    DEBUG_PRINT_RECEIVE(&sriovTlv, sriov);
+     if (rc) {// when attempting to get a nv_cfg tlv from device ME_REG_ACCESS_RES_NOT_AVLBL means - no valid
+              // tlv found. i.e default configuration are on.
+         if (rc == ME_REG_ACCESS_RES_NOT_AVLBL) {
+--- a/mlxconfig/mlxcfg_utils.cpp
++++ b/mlxconfig/mlxcfg_utils.cpp
+@@ -56,7 +56,7 @@
+     int sig;
+     sig = mft_signal_is_fired();
+     if (sig) {
+-        // reset recieved signal
++        // reset received signal
+         mft_signal_set_fired(0);
+         // retore prev handler
+         mft_signal_set_handling(0);
+@@ -87,7 +87,7 @@
+     mft_signal_set_handling(1);
+     //DEBUG_PRINT_SEND(&mnvaTlv, nvda);
+     rc = reg_access_nvda(mf, method, &mnvaTlv);
+-    //DEBUG_PRINT_RECIEVE(&mnvaTlv, nvda);
++    //DEBUG_PRINT_RECEIVE(&mnvaTlv, nvda);
+     dealWithSignal();
+     if (rc) {
+         return rc;
+--- a/mlxfwops/lib/flint_io.cpp
++++ b/mlxfwops/lib/flint_io.cpp
+@@ -427,7 +427,7 @@
+ 
+     u_int32_t phys_addr = cont2phys(addr);
+     // printf("-D- read1: addr = %#x, phys_addr = %#x\n", addr, phys_addr);
+-    // here we set a "silent" signal handler and deal with the recieved signal after the read
++    // here we set a "silent" signal handler and deal with the received signal after the read
+     mft_signal_set_handling(1);
+     rc = mf_read(_mfl, phys_addr, 4, (u_int8_t*)data);
+     deal_with_signal();
+@@ -929,7 +929,7 @@
+     int sig;
+     sig = mft_signal_is_fired();
+     if (sig) {
+-        // reset recieved signal
++        // reset received signal
+         mft_signal_set_fired(0);
+         // retore prev handler
+         mft_signal_set_handling(0);
+--- a/mlxfwops/lib/fw_ops.cpp
++++ b/mlxfwops/lib/fw_ops.cpp
+@@ -837,7 +837,7 @@
+             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");
+                     }
+             }
+         }
+--- a/tools_layouts/connectib_layouts.c
++++ b/tools_layouts/connectib_layouts.c
+@@ -28783,10 +28783,10 @@
+ 	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_multicast_frames_received_ok_low);
+ 
+ 	offset=576;
+-	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_broadcast_frames_recieved_ok_high);
++	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_broadcast_frames_received_ok_high);
+ 
+ 	offset=608;
+-	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_broadcast_frames_recieved_ok_low);
++	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_broadcast_frames_received_ok_low);
+ 
+ 	offset=640;
+ 	adb2c_push_integer_to_buff(ptr_buff, offset, 4, (u_int64_t)ptr_struct->a_in_range_length_errors_high);
+@@ -28909,10 +28909,10 @@
+ 	ptr_struct->a_multicast_frames_received_ok_low = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
+ 
+ 	offset=576;
+-	ptr_struct->a_broadcast_frames_recieved_ok_high = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
++	ptr_struct->a_broadcast_frames_received_ok_high = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
+ 
+ 	offset=608;
+-	ptr_struct->a_broadcast_frames_recieved_ok_low = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
++	ptr_struct->a_broadcast_frames_received_ok_low = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
+ 
+ 	offset=640;
+ 	ptr_struct->a_in_range_length_errors_high = (u_int32_t)adb2c_pop_integer_from_buff(ptr_buff, offset, 4);
+@@ -29033,10 +29033,10 @@
+ 	fprintf(file, "a_multicast_frames_received_ok_low : "U32H_FMT"\n", ptr_struct->a_multicast_frames_received_ok_low);
+ 
+ 	adb2c_add_indentation(file, indent_level);
+-	fprintf(file, "a_broadcast_frames_recieved_ok_high : "U32H_FMT"\n", ptr_struct->a_broadcast_frames_recieved_ok_high);
++	fprintf(file, "a_broadcast_frames_received_ok_high : "U32H_FMT"\n", ptr_struct->a_broadcast_frames_received_ok_high);
+ 
+ 	adb2c_add_indentation(file, indent_level);
+-	fprintf(file, "a_broadcast_frames_recieved_ok_low : "U32H_FMT"\n", ptr_struct->a_broadcast_frames_recieved_ok_low);
++	fprintf(file, "a_broadcast_frames_received_ok_low : "U32H_FMT"\n", ptr_struct->a_broadcast_frames_received_ok_low);
+ 
+ 	adb2c_add_indentation(file, indent_level);
+ 	fprintf(file, "a_in_range_length_errors_high : "U32H_FMT"\n", ptr_struct->a_in_range_length_errors_high);
+--- a/tools_layouts/connectib_layouts.h
++++ b/tools_layouts/connectib_layouts.h
+@@ -10067,7 +10067,7 @@
+ /* Size in bytes - 248 */
+ struct connectib_llr_counters {
+ /*---------------- DWORD[0] (Offset 0x0) ----------------*/
+-	/* Description - The total number of cells recieved (including bad cells) */
++	/* Description - The total number of cells received (including bad cells) */
+ 	/* 0.0 - 4.31 */
+ 	 u_int32_t llr_rx_cells_high;
+ /*---------------- DWORD[1] (Offset 0x4) ----------------*/
+@@ -10075,7 +10075,7 @@
+ 	/* 4.0 - 8.31 */
+ 	 u_int32_t llr_rx_cells_low;
+ /*---------------- DWORD[2] (Offset 0x8) ----------------*/
+-	/* Description - The total number of bad cells recieved (including CRC error) */
++	/* Description - The total number of bad cells received (including CRC error) */
+ 	/* 8.0 - 12.31 */
+ 	 u_int32_t llr_rx_error_high;
+ /*---------------- DWORD[3] (Offset 0xc) ----------------*/
+@@ -10083,7 +10083,7 @@
+ 	/* 12.0 - 16.31 */
+ 	 u_int32_t llr_rx_error_low;
+ /*---------------- DWORD[4] (Offset 0x10) ----------------*/
+-	/* Description - The total number of cells recieved with CRC error */
++	/* Description - The total number of cells received with CRC error */
+ 	/* 16.0 - 20.31 */
+ 	 u_int32_t llr_rx_crc_error_high;
+ /*---------------- DWORD[5] (Offset 0x14) ----------------*/
+@@ -11412,13 +11412,13 @@
+ to the broadcast address. Frames transmitted to multicast 
+ addresses are not broadcast frames and are excluded. */
+ 	/* 72.0 - 76.31 */
+-	 u_int32_t a_broadcast_frames_recieved_ok_high;
++	 u_int32_t a_broadcast_frames_received_ok_high;
+ /*---------------- DWORD[19] (Offset 0x4c) ----------------*/
+ 	/* Description - A count of the frames that were successfully transmitted 
+ to the broadcast address. Frames transmitted to multicast 
+ addresses are not broadcast frames and are excluded. */
+ 	/* 76.0 - 80.31 */
+-	 u_int32_t a_broadcast_frames_recieved_ok_low;
++	 u_int32_t a_broadcast_frames_received_ok_low;
+ /*---------------- DWORD[20] (Offset 0x50) ----------------*/
+ 	/* Description - A count of frames with a length/type field value between 
+ the minimum unpadded MAC client data size and the 
+@@ -20913,7 +20913,7 @@
+ 	/* 8.23 - 8.23 */
+ 	 u_int8_t i2c_slave_en;
+ 	/* Description - value 0 will disabe yu_fuse read/write requests to reach the fuse (in case Fuse is malfunctioning).
+-upon reads, data recieved will be hard wired zeros.
++upon reads, data received will be hard wired zeros.
+ upon write, efuse_done will rise after 1 cycle. */
+ 	/* 8.24 - 8.24 */
+ 	 u_int8_t fuse_enable;
+--- a/mflash/mflash_pack_layer.c
++++ b/mflash/mflash_pack_layer.c
+@@ -164,7 +164,7 @@
+ 
+ /*
+  * getters and setters for mfl->curr_bank
+- * manily used to  monitor values mfl->curr_bank recieves
++ * manily used to  monitor values mfl->curr_bank receives
+  * used for a verification hack to make sure facebook reset bug doesnt reproduce.
+  * (bug where accessing gpio of flash bank 4 caused system reboot)
+  */
+--- a/mlxconfig/mlxcfg_generic_commander.cpp
++++ b/mlxconfig/mlxcfg_generic_commander.cpp
+@@ -910,7 +910,7 @@
+     mft_signal_set_handling(1);
+     DEBUG_PRINT_SEND(&_nvdaTlv, nvda);
+     rc = reg_access_nvda(mf, REG_ACCESS_METHOD_SET, &_nvdaTlv);
+-    DEBUG_PRINT_RECIEVE(&_nvdaTlv, nvda);
++    DEBUG_PRINT_RECEIVE(&_nvdaTlv, nvda);
+     dealWithSignal();
+     if (rc) {
+         return errmsg("Failed to set raw TLV: %s", m_err2str((MError)rc));
+--- a/mlxconfig/mlxcfg_parser.cpp
++++ b/mlxconfig/mlxcfg_parser.cpp
+@@ -319,7 +319,7 @@
+         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.cmd == Mc_ShowConfs) && _mlxParams.device.length() == 0) {
+         return err(true, "%s command expects device to be specified.",
+--- a/mlxconfig/mlxcfg_utils.h
++++ b/mlxconfig/mlxcfg_utils.h
+@@ -78,12 +78,12 @@
+ # define DEBUG_PRINT_SEND(data_struct, struct_name)\
+     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");\
++# define DEBUG_PRINT_RECEIVE(data_struct, struct_name)\
++    printf("-I- Data Received:\n");\
+     tools_open_##struct_name##_print(data_struct, stdout, 1)
+ #else
+ # define DEBUG_PRINT_SEND(data_struct, struct_name)
+-# define DEBUG_PRINT_RECIEVE(data_struct, struct_name)
++# define DEBUG_PRINT_RECEIVE(data_struct, struct_name)
+ #endif
+ 
+ #define CHECK_RC(rc)\
+--- a/mlxfwops/lib/fs2_ops.cpp
++++ b/mlxfwops/lib/fs2_ops.cpp
+@@ -1824,7 +1824,7 @@
+     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()) {
+--- a/mlxfwops/lib/fs3_ops.cpp
++++ b/mlxfwops/lib/fs3_ops.cpp
+@@ -1802,7 +1802,7 @@
+     sprintf(message, "Updating %-4s section - ", msg);
+     // Burn new Section
+     // we pass a null callback and print the progress here as the writes are small (guids/mfg/vpd_str)
+-    // in the future if we want to pass the cb prints to writeImage , need to change the signature of progressCallBack to recieve and optional string to print
++    // in the future if we want to pass the cb prints to writeImage , need to change the signature of progressCallBack to receive and optional string to print
+ 
+     PRINT_PROGRESS(callBackFunc, message);
+ 
+--- a/reg_access/reg_access.c
++++ b/reg_access/reg_access.c
+@@ -63,12 +63,12 @@
+ # define DEBUG_PRINT_SEND(data_struct, struct_name, method, prefix)\
+ 	printf("-I- Data Sent (Method: %s):\n", method == REG_ACCESS_METHOD_SET ? "SET" : "GET");\
+ 	prefix##_##struct_name##_print(data_struct, stdout, 1)
+-# define DEBUG_PRINT_RECIEVE(data_struct, struct_name, method, prefix)\
++# define DEBUG_PRINT_RECEIVE(data_struct, struct_name, method, prefix)\
+ 	printf("-I- Data Received (Mehtod: %s):\n", method == REG_ACCESS_METHOD_SET ? "SET" : "GET");\
+ 	prefix##_##struct_name##_print(data_struct, stdout, 1)
+ #else
+ # define DEBUG_PRINT_SEND(data_struct, struct_name, method, prefix)
+-# define DEBUG_PRINT_RECIEVE(data_struct, struct_name, method, prefix)
++# define DEBUG_PRINT_RECEIVE(data_struct, struct_name, method, prefix)
+ #endif
+ 
+ /***************************************************/
+@@ -88,7 +88,7 @@
+     DEBUG_PRINT_SEND(data_struct, struct_name, method, print_func);\
+     rc = maccess_reg(mf, reg_id, (maccess_reg_method_t)method, data, reg_size, r_reg_size, w_reg_size, status);\
+     unpack_func(data_struct, data);\
+-    DEBUG_PRINT_RECIEVE(data_struct, struct_name, method, print_func);
++    DEBUG_PRINT_RECEIVE(data_struct, struct_name, method, print_func);
+ 
+ #define REG_ACCESS_GENERIC_VAR(mf, methdod, reg_id, data_struct, struct_name, reg_size , r_reg_size, w_reg_size, pack_func,\
+         unpack_func, size_func, print_func)\
diff --git a/debian/patches/series b/debian/patches/series
index 5c80cec..bd8296c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
 0001-Remove-date-and-time-from-version-string-to-ensure-r.patch
 0002-Fix-typo-allign-align.patch
 0003-Fix-typo-missmatch-mismatch.patch
+Fix-typo-recieved-received.patch
 0004-Fix-other-typos.patch
 0005-Fix-section-mismatch-in-man-pages.patch
 0006-Fix-man-page-errors.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/mstflint.git



More information about the Pkg-ofed-commits mailing list