qcacmn: qdf: Fix misspellings

Address the following issues in the qdf folder:
CHECK: 'arguement' may be misspelled - perhaps 'argument'?
CHECK: 'Arguement' may be misspelled - perhaps 'Argument'?
CHECK: 'continous' may be misspelled - perhaps 'continuous'?
- (actually 'contiguous')
CHECK: 'implentation' may be misspelled - perhaps 'implementation'?
CHECK: 'Initilize' may be misspelled - perhaps 'Initialize'?
CHECK: 'occurance' may be misspelled - perhaps 'occurrence'?
CHECK: 'untill' may be misspelled - perhaps 'until'?

Change-Id: I4ea13e1a6b1490082830ed67098ff174a162114b
CRs-Fixed: 2241580
Bu işleme şunda yer alıyor:
Jeff Johnson
2018-05-12 11:48:52 -07:00
işlemeyi yapan: nshrivas
ebeveyn 1002ca5ed9
işleme 8bc5042785
8 değiştirilmiş dosya ile 14 ekleme ve 14 silme

Dosyayı Görüntüle

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2016, 2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -35,7 +35,7 @@ typedef __qdf_timer_t qdf_timer_t;
* @hdl: OS handle
* @timer: Timer object pointer
* @func: Timer function
* @arg: Arguement of timer function
* @arg: Argument of timer function
* @type: deferrable or non deferrable timer type
*
* Timer type QDF_TIMER_TYPE_SW means its a deferrable sw timer which will

Dosyayı Görüntüle

@@ -84,15 +84,15 @@ typedef __qdf_wait_queue_head_t qdf_wait_queue_head_t;
/**
* QDF_MAX - get maximum of two values
* @_x: 1st arguement
* @_y: 2nd arguement
* @_x: 1st argument
* @_y: 2nd argument
*/
#define QDF_MAX(_x, _y) (((_x) > (_y)) ? (_x) : (_y))
/**
* QDF_MIN - get minimum of two values
* @_x: 1st arguement
* @_y: 2nd arguement
* @_x: 1st argument
* @_y: 2nd argument
*/
#define QDF_MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))

Dosyayı Görüntüle

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -81,7 +81,7 @@ typedef void (*__qdf_bh_fn_t)(unsigned long arg);
static inline QDF_STATUS
__qdf_init_work(__qdf_work_t *work, qdf_defer_fn_t func, void *arg)
{
/*Initilize func and argument in work struct */
/*Initialize func and argument in work struct */
INIT_WORK(&work->work, __qdf_defer_func);
return QDF_STATUS_SUCCESS;
}
@@ -208,7 +208,7 @@ static inline uint32_t __qdf_init_delayed_work(__qdf_delayed_work_t *work,
qdf_defer_fn_t func,
void *arg)
{
/*Initilize func and argument in work struct */
/*Initialize func and argument in work struct */
work->fn = func;
work->arg = arg;
INIT_DELAYED_WORK(&work->dwork, __qdf_defer_delayed_func);

Dosyayı Görüntüle

@@ -39,7 +39,7 @@
#include <qdf_nbuf.h>
/*
* Use socket buffer as the underlying implentation as skbuf .
* Use socket buffer as the underlying implementation as skbuf .
* Linux use sk_buff to represent both packet and data,
* so we use sk_buffer to represent both skbuf .
*/

Dosyayı Görüntüle

@@ -45,7 +45,7 @@ typedef void (*__qdf_dummy_timer_func_t)(unsigned long arg);
* @hdl: OS handle
* @timer: Pointer to timer object
* @func: Function pointer
* @arg: Arguement
* @arg: Argument
* @type: deferrable or non deferrable timer type
*
* Timer type QDF_TIMER_TYPE_SW means its a deferrable sw timer which will

Dosyayı Görüntüle

@@ -21,7 +21,7 @@
*
* This source file contains linux specific definitions for QDF event APIs
* The APIs mentioned in this file are used for initializing, setting,
* resetting, destroying an event and waiting on an occurance of an event
* resetting, destroying an event and waiting on an occurrence of an event
* among multiple events.
*/

Dosyayı Görüntüle

@@ -386,7 +386,7 @@ qdf_export_symbol(qdf_wake_lock_destroy);
/**
* qdf_runtime_pm_get() - do a get opperation on the device
*
* A get opperation will prevent a runtime suspend untill a
* A get opperation will prevent a runtime suspend until a
* corresponding put is done. This api should be used when sending
* data.
*

Dosyayı Görüntüle

@@ -2857,7 +2857,7 @@ uint32_t __qdf_nbuf_get_tso_info(qdf_device_t osdev, struct sk_buff *skb,
struct qdf_tso_num_seg_elem_t *total_num_seg;
struct skb_frag_struct *frag = NULL;
uint32_t tso_frag_len = 0; /* tso segment's fragment length*/
uint32_t skb_frag_len = 0; /* skb's fragment length (continous memory)*/
uint32_t skb_frag_len = 0; /* skb's fragment length (contiguous memory)*/
uint32_t skb_proc = skb->len; /* bytes of skb pending processing */
uint32_t tso_seg_size = skb_shinfo(skb)->gso_size;
int j = 0; /* skb fragment index */