From 8bc50427854f65ca32de8e8a558e79b8ee539236 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 12 May 2018 11:48:52 -0700 Subject: [PATCH] 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 --- qdf/inc/qdf_timer.h | 4 ++-- qdf/inc/qdf_util.h | 8 ++++---- qdf/linux/src/i_qdf_defer.h | 6 +++--- qdf/linux/src/i_qdf_nbuf.h | 2 +- qdf/linux/src/i_qdf_timer.h | 2 +- qdf/linux/src/qdf_event.c | 2 +- qdf/linux/src/qdf_lock.c | 2 +- qdf/linux/src/qdf_nbuf.c | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/qdf/inc/qdf_timer.h b/qdf/inc/qdf_timer.h index ad9ae0d738..a88a8cdbf4 100644 --- a/qdf/inc/qdf_timer.h +++ b/qdf/inc/qdf_timer.h @@ -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 diff --git a/qdf/inc/qdf_util.h b/qdf/inc/qdf_util.h index 83345632e2..7685e7941f 100644 --- a/qdf/inc/qdf_util.h +++ b/qdf/inc/qdf_util.h @@ -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)) diff --git a/qdf/linux/src/i_qdf_defer.h b/qdf/linux/src/i_qdf_defer.h index a77e2229df..b9dd9cce9c 100644 --- a/qdf/linux/src/i_qdf_defer.h +++ b/qdf/linux/src/i_qdf_defer.h @@ -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); diff --git a/qdf/linux/src/i_qdf_nbuf.h b/qdf/linux/src/i_qdf_nbuf.h index fc9c43de0f..221ca4fe18 100644 --- a/qdf/linux/src/i_qdf_nbuf.h +++ b/qdf/linux/src/i_qdf_nbuf.h @@ -39,7 +39,7 @@ #include /* - * 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 . */ diff --git a/qdf/linux/src/i_qdf_timer.h b/qdf/linux/src/i_qdf_timer.h index 45c2ac62db..d21504e59f 100644 --- a/qdf/linux/src/i_qdf_timer.h +++ b/qdf/linux/src/i_qdf_timer.h @@ -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 diff --git a/qdf/linux/src/qdf_event.c b/qdf/linux/src/qdf_event.c index 077113f15b..ece52b1e8c 100644 --- a/qdf/linux/src/qdf_event.c +++ b/qdf/linux/src/qdf_event.c @@ -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. */ diff --git a/qdf/linux/src/qdf_lock.c b/qdf/linux/src/qdf_lock.c index 3db6d2d868..b90fe7c149 100644 --- a/qdf/linux/src/qdf_lock.c +++ b/qdf/linux/src/qdf_lock.c @@ -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. * diff --git a/qdf/linux/src/qdf_nbuf.c b/qdf/linux/src/qdf_nbuf.c index a6e5f001f3..ec732739a3 100644 --- a/qdf/linux/src/qdf_nbuf.c +++ b/qdf/linux/src/qdf_nbuf.c @@ -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 */