qcacmn: wmi: Fix misspellings

Address the following issues in the wmi folder:
CHECK: 'addres' may be misspelled - perhaps 'address'?
CHECK: 'COMAND' may be misspelled - perhaps 'COMMAND'?
CHECK: 'defintion' may be misspelled - perhaps 'definition'?
CHECK: 'happend' may be misspelled - perhaps 'happened'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'messsage' may be misspelled - perhaps 'message'?
CHECK: 'overriden' may be misspelled - perhaps 'overridden'?
CHECK: 'poiter' may be misspelled - perhaps 'pointer'?
CHECK: 'refering' may be misspelled - perhaps 'referring'?
CHECK: 'refrence' may be misspelled - perhaps 'reference'?
CHECK: 'shrinked' may be misspelled - perhaps 'shrunk'?
CHECK: 'succesfully' may be misspelled - perhaps 'successfully'?
CHECK: 'succesful' may be misspelled - perhaps 'successful'?

Change-Id: Ie97e4d83cc88a2610524b38adc3474cdd31170d9
CRs-Fixed: 2241590
This commit is contained in:
Jeff Johnson
2018-05-12 14:22:00 -07:00
committed by nshrivas
父節點 dd1fbf0716
當前提交 da26399dfa
共有 4 個文件被更改,包括 20 次插入20 次删除

查看文件

@@ -827,11 +827,11 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
/* Incoming structure size is greater than expected size /* Incoming structure size is greater than expected size
* then this needs shrinking for each element in the array */ * then this needs shrinking for each element in the array */
/* Find amount of bytes to be shrinked for one element */ /* Find amount of bytes to be shrunk for one element */
num_padding_bytes = tlv_size_diff * -1; num_padding_bytes = tlv_size_diff * -1;
/* Move subsequent elements of array up by number of bytes /* Move subsequent elements of array up by number of bytes
* to be shrinked for one element */ * to be shrunk for one element */
tlv_buf_ptr = buf_ptr; tlv_buf_ptr = buf_ptr;
for (i = 0; i < (num_of_elems - 1); i++) { for (i = 0; i < (num_of_elems - 1); i++) {
src_addr = src_addr =
@@ -852,7 +852,7 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
tag_struct_size; tag_struct_size;
} }
/* Move subsequent TLVs by number of bytes to be shrinked /* Move subsequent TLVs by number of bytes to be shrunk
* for all elements */ * for all elements */
if (param_buf_len > if (param_buf_len >
(buf_idx + curr_tlv_len)) { (buf_idx + curr_tlv_len)) {
@@ -872,7 +872,7 @@ wmitlv_check_and_pad_tlvs(void *os_handle, void *param_struc_ptr,
} }
/* Update the number of padding bytes to total number of /* Update the number of padding bytes to total number of
* bytes shrinked for all elements in the array */ * bytes shrunk for all elements in the array */
num_padding_bytes = num_padding_bytes =
num_padding_bytes * num_of_elems; num_padding_bytes * num_of_elems;

查看文件

@@ -5396,7 +5396,7 @@ QDF_STATUS wmi_extract_ext_tbttoffset_num_vdevs(void *wmi_hdl, void *evt_buf,
* wmi_extract_tbttoffset_update_params() - extract tbtt offset update param * wmi_extract_tbttoffset_update_params() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
@@ -5417,7 +5417,7 @@ QDF_STATUS wmi_extract_tbttoffset_update_params(void *wmi_hdl, void *evt_buf,
* wmi_extract_ext_tbttoffset_update_params() - extract tbtt offset update param * wmi_extract_ext_tbttoffset_update_params() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure

查看文件

@@ -840,7 +840,7 @@ send_pdev_utf_cmd_non_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_UTF_LEN) if (param->len > MAX_WMI_UTF_LEN)
chunkLen = MAX_WMI_UTF_LEN; /* MAX messsage.. */ chunkLen = MAX_WMI_UTF_LEN; /* MAX message.. */
else else
chunkLen = param->len; chunkLen = param->len;
@@ -939,7 +939,7 @@ send_pdev_qvit_cmd_non_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_QVIT_LEN) if (param->len > MAX_WMI_QVIT_LEN)
chunkLen = MAX_WMI_QVIT_LEN; /* MAX messsage.. */ chunkLen = MAX_WMI_QVIT_LEN; /* MAX message.. */
else else
chunkLen = param->len; chunkLen = param->len;
@@ -4283,7 +4283,7 @@ send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle,
int c; int c;
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (key_unaligned == NULL) if (key_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking if space is aligned */ /* Checking if space is aligned */
@@ -4306,7 +4306,7 @@ send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle,
DUMP_PREFIX_NONE, DUMP_PREFIX_NONE,
16, 1, key_aligned, param->key_len, true); 16, 1, key_aligned, param->key_len, true);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking of space is aligned */ /* Checking of space is aligned */
@@ -6149,7 +6149,7 @@ static QDF_STATUS extract_fips_event_data_non_tlv(wmi_unified_t wmi_handle,
u_int8_t *data_aligned = NULL; u_int8_t *data_aligned = NULL;
int c; int c;
/* Checking if kmalloc does succesful allocation */ /* Checking if kmalloc does successful allocation */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;
@@ -6240,7 +6240,7 @@ static QDF_STATUS extract_tbttoffset_num_vdevs_non_tlv(void *wmi_hdl,
* extract_tbttoffset_update_params_non_tlv() - extract tbtt offset update param * extract_tbttoffset_update_params_non_tlv() - extract tbtt offset update param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: 0 for success or error code * Return: 0 for success or error code

查看文件

@@ -1122,7 +1122,7 @@ send_pdev_utf_cmd_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_UTF_LEN) if (param->len > MAX_WMI_UTF_LEN)
chunk_len = MAX_WMI_UTF_LEN; /* MAX messsage */ chunk_len = MAX_WMI_UTF_LEN; /* MAX message */
else else
chunk_len = param->len; chunk_len = param->len;
@@ -6853,7 +6853,7 @@ static QDF_STATUS send_dbs_scan_sel_params_cmd_tlv(wmi_unified_t wmi_handle,
* list that need to be applied to the scan results to form the * list that need to be applied to the scan results to form the
* probable candidates for roaming. * probable candidates for roaming.
* *
* Return: Return success upon succesfully passing the * Return: Return success upon successfully passing the
* parameters to the firmware, otherwise failure. * parameters to the firmware, otherwise failure.
*/ */
static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle, static QDF_STATUS send_roam_scan_filter_cmd_tlv(wmi_unified_t wmi_handle,
@@ -13087,7 +13087,7 @@ send_pdev_qvit_cmd_tlv(wmi_unified_t wmi_handle,
while (param->len) { while (param->len) {
if (param->len > MAX_WMI_QVIT_LEN) if (param->len > MAX_WMI_QVIT_LEN)
chunk_len = MAX_WMI_QVIT_LEN; /* MAX messsage */ chunk_len = MAX_WMI_QVIT_LEN; /* MAX message */
else else
chunk_len = param->len; chunk_len = param->len;
@@ -14025,7 +14025,7 @@ static QDF_STATUS fips_align_data_be(wmi_unified_t wmi_handle,
data_unaligned = qdf_mem_malloc( data_unaligned = qdf_mem_malloc(
sizeof(u_int8_t)*param->data_len + FIPS_ALIGN); sizeof(u_int8_t)*param->data_len + FIPS_ALIGN);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (key_unaligned == NULL) if (key_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking if space is aligned */ /* Checking if space is aligned */
@@ -14048,7 +14048,7 @@ static QDF_STATUS fips_align_data_be(wmi_unified_t wmi_handle,
DUMP_PREFIX_NONE, DUMP_PREFIX_NONE,
16, 1, key_aligned, param->key_len, true); 16, 1, key_aligned, param->key_len, true);
/* Checking if kmalloc is succesful to allocate space */ /* Checking if kmalloc is successful to allocate space */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
/* Checking of space is aligned */ /* Checking of space is aligned */
@@ -18450,7 +18450,7 @@ static QDF_STATUS extract_ext_tbttoffset_num_vdevs_tlv(void *wmi_hdl,
* extract_tbttoffset_update_params_tlv() - extract tbtt offset param * extract_tbttoffset_update_params_tlv() - extract tbtt offset param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS for success or error code * Return: QDF_STATUS_SUCCESS for success or error code
@@ -18484,7 +18484,7 @@ static QDF_STATUS extract_tbttoffset_update_params_tlv(void *wmi_hdl,
* extract_ext_tbttoffset_update_params_tlv() - extract ext tbtt offset param * extract_ext_tbttoffset_update_params_tlv() - extract ext tbtt offset param
* @wmi_handle: wmi handle * @wmi_handle: wmi handle
* @param evt_buf: pointer to event buffer * @param evt_buf: pointer to event buffer
* @param idx: Index refering to a vdev * @param idx: Index referring to a vdev
* @param tbtt_param: Pointer to tbttoffset event param * @param tbtt_param: Pointer to tbttoffset event param
* *
* Return: QDF_STATUS_SUCCESS for success or error code * Return: QDF_STATUS_SUCCESS for success or error code
@@ -20422,7 +20422,7 @@ static QDF_STATUS fips_conv_data_be(uint32_t data_len, uint8_t *data)
data_unaligned = qdf_mem_malloc(((sizeof(uint8_t) * data_len) + data_unaligned = qdf_mem_malloc(((sizeof(uint8_t) * data_len) +
FIPS_ALIGN)); FIPS_ALIGN));
/* Assigning unaligned space to copy the data */ /* Assigning unaligned space to copy the data */
/* Checking if kmalloc does succesful allocation */ /* Checking if kmalloc does successful allocation */
if (data_unaligned == NULL) if (data_unaligned == NULL)
return QDF_STATUS_E_FAILURE; return QDF_STATUS_E_FAILURE;