From patchwork Thu Jun 4 17:42:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 49543 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DF00E21562 for ; Thu, 4 Jun 2015 17:42:31 +0000 (UTC) Received: by lbcak1 with SMTP id ak1sf12248285lbc.2 for ; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=45AlxivZ5sWp381OE10J0CNwkpJis6c+8TAf+5V/3lQ=; b=RkaZdqWA/ouEwzTSNovQKFNzVhrWRFKJFyDgf6Te0vmXKkU2kHXT+kBIwbvVEx5OfN f4p4XiQFCpIC4y0sKMP7phi4sGTgu/oG3df6nFNy4DGv9Mxu37JHhCRhkVbnQ2rTL6jY YqZRc8T+AjDiAD7iWM84rIe2AbhJgNCkrARcETT3/UIpxJv4n90Ogczg8V2YvIL64UZq cRVPF61tDGzjkEB9FbHV+FtXyRdB9t8g2rk6tUgN6SNLYUoD0SoGn+P9TH6t2v7mGMD4 6vo+fMaLwQilHjL/oODjRNhWLVT6BLD17Wl3S9xKExtrZ53giF7NndEB9Glq8KHxcg8G b+fQ== X-Gm-Message-State: ALoCoQldtXTTopESPNWmG98eleg3Ev0GGKrxtmyHMKK5t6QzhGJV3Ql3g2KBhUFd0A7GS8fTf1eC X-Received: by 10.112.14.101 with SMTP id o5mr36202967lbc.3.1433439750489; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.7 with SMTP id f7ls234620lah.48.gmail; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) X-Received: by 10.112.161.40 with SMTP id xp8mr38313035lbb.71.1433439750333; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id i6si2459751lai.30.2015.06.04.10.42.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jun 2015 10:42:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbcmx3 with SMTP id mx3so31824135lbc.1 for ; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) X-Received: by 10.112.93.37 with SMTP id cr5mr17435295lbb.106.1433439750027; Thu, 04 Jun 2015 10:42:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp779879lbb; Thu, 4 Jun 2015 10:42:28 -0700 (PDT) X-Received: by 10.140.232.131 with SMTP id d125mr46597476qhc.80.1433439748124; Thu, 04 Jun 2015 10:42:28 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d10si4772339qhc.120.2015.06.04.10.42.27; Thu, 04 Jun 2015 10:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 011986208F; Thu, 4 Jun 2015 17:42:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 8C8D66208B; Thu, 4 Jun 2015 17:42:24 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 01C866208C; Thu, 4 Jun 2015 17:42:22 +0000 (UTC) Received: from mail-vn0-f46.google.com (mail-vn0-f46.google.com [209.85.216.46]) by lists.linaro.org (Postfix) with ESMTPS id 115D962089 for ; Thu, 4 Jun 2015 17:42:22 +0000 (UTC) Received: by vnbg62 with SMTP id g62so6023195vnb.4 for ; Thu, 04 Jun 2015 10:42:21 -0700 (PDT) X-Received: by 10.52.178.5 with SMTP id cu5mr58429230vdc.20.1433439741529; Thu, 04 Jun 2015 10:42:21 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id cc10sm5255893vdc.3.2015.06.04.10.42.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Jun 2015 10:42:20 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 4 Jun 2015 13:42:15 -0400 Message-Id: <1433439735-16566-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] codespell: fix spelling X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- configure.ac | 2 +- doc/api_guide_lines.dox | 4 ++-- example/generator/odp_generator.c | 2 +- example/ipsec/odp_ipsec_sa_db.h | 4 ++-- helper/include/odp/helper/ip.h | 2 +- helper/ring.c | 2 +- platform/linux-generic/odp_pool.c | 2 +- platform/linux-generic/odp_rwlock.c | 2 +- platform/linux-generic/odp_timer.c | 2 +- test/performance/odp_atomic.c | 2 +- test/validation/odp_cpumask.c | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index 89b0846..69365fe 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ AC_TYPE_UINT64_T AX_VALGRIND_CHECK ########################################################################## -# Which archetecture optimizations will we use +# Which architecture optimizations will we use ########################################################################## AS_CASE([$host], [x86*], [ARCH=x86], diff --git a/doc/api_guide_lines.dox b/doc/api_guide_lines.dox index 0832cae..f3f7799 100644 --- a/doc/api_guide_lines.dox +++ b/doc/api_guide_lines.dox @@ -90,7 +90,7 @@ An api with "is" or "has" are both considered @ref boolean questions. They can o An example might be a packet interface, you might want to know if it is in promiscuous mode. @code odp_bool_t state = odp_pktio_is_promiscuous(pktio handle) @endcode -In addtion you might want to know if it has the ability to be in promiscuous mode. +In addition you might want to know if it has the ability to be in promiscuous mode. @code odp_bool_t state = odp_pktio_has_promiscuous(pktio handle) @endcode Another case might be if a packet has a vlan flag set @@ -150,7 +150,7 @@ When an interface is defined in a header file and is intended to to be reused in - All the required definitions for the API are to use an underscore, this includes MACROS, typedefs, enums and function names. @subsection variables Declaring variables -- Variables shall be declared at the begining of scope, for example :- +- Variables shall be declared at the beginning of scope, for example :- @code int start_of_global_scope; diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 8ae5b29..cbe93b5 100644 --- a/example/generator/odp_generator.c +++ b/example/generator/odp_generator.c @@ -534,7 +534,7 @@ static void print_pkts(int thr, odp_packet_t pkt_tbl[], unsigned len) } /** - * Main receive funtion + * Main receive function * * @param arg thread arguments of type 'thread_args_t *' */ diff --git a/example/ipsec/odp_ipsec_sa_db.h b/example/ipsec/odp_ipsec_sa_db.h index c30cbdb..671f266 100644 --- a/example/ipsec/odp_ipsec_sa_db.h +++ b/example/ipsec/odp_ipsec_sa_db.h @@ -14,7 +14,7 @@ extern "C" { #include /** - * Security Assocation (SA) data base entry + * Security Association (SA) data base entry */ typedef struct sa_db_entry_s { struct sa_db_entry_s *next; /**< Next entry on list */ @@ -29,7 +29,7 @@ typedef struct sa_db_entry_s { } sa_db_entry_t; /** - * Security Assocation (SA) data base global structure + * Security Association (SA) data base global structure */ typedef struct sa_db_s { uint32_t index; /**< Index of next available entry */ diff --git a/helper/include/odp/helper/ip.h b/helper/include/odp/helper/ip.h index 627c82d..41408a3 100644 --- a/helper/include/odp/helper/ip.h +++ b/helper/include/odp/helper/ip.h @@ -154,7 +154,7 @@ _ODP_STATIC_ASSERT(sizeof(odph_ipv6hdr_t) == ODPH_IPV6HDR_LEN, "ODPH_IPV6HDR_T__ */ typedef struct ODP_PACKED { uint8_t next_hdr; /**< Protocol of next header */ - uint8_t ext_len; /**< Length of this extention in 8 byte units, + uint8_t ext_len; /**< Length of this extension in 8 byte units, not counting first 8 bytes, so 0 = 8 bytes 1 = 16 bytes, etc. */ uint8_t filler[6]; /**< Fill out first 8 byte segment */ diff --git a/helper/ring.c b/helper/ring.c index 721c1fc..67fece9 100644 --- a/helper/ring.c +++ b/helper/ring.c @@ -279,7 +279,7 @@ int __odph_ring_mp_do_enqueue(odph_ring_t *r, void * const *obj_table, } /* - * If there are other enqueues in progress that preceeded us, + * If there are other enqueues in progress that preceded us, * we need to wait for them to complete */ while (odp_unlikely(r->prod.tail != prod_head)) diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index f2bf0c7..35e79a0 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -161,7 +161,7 @@ odp_pool_t odp_pool_create(const char *name, params->buf.align = 0; /* tmo.__res2 */ } - /* Default initialization paramters */ + /* Default initialization parameters */ uint32_t p_udata_size = 0; uint32_t udata_stride = 0; diff --git a/platform/linux-generic/odp_rwlock.c b/platform/linux-generic/odp_rwlock.c index e67169e..47c15ef 100644 --- a/platform/linux-generic/odp_rwlock.c +++ b/platform/linux-generic/odp_rwlock.c @@ -49,7 +49,7 @@ void odp_rwlock_write_lock(odp_rwlock_t *rwlock) while (is_locked == 0) { uint32_t zero = 0; cnt = _odp_atomic_u32_load_mm(&rwlock->cnt, _ODP_MEMMODEL_RLX); - /* lock aquired, wait */ + /* lock acquired, wait */ if (cnt != 0) { odp_spin(); continue; diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index e5391dc..f51d2de 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -598,7 +598,7 @@ static unsigned odp_timer_pool_expire(odp_timer_pool_t tpid, uint64_t tick) ODP_ASSERT(high_wm <= tpid->param.num_timers); for (i = 0; i < high_wm;) { #ifdef __ARM_ARCH - /* As a rare occurence, we can outsmart the HW prefetcher + /* As a rare occurrence, we can outsmart the HW prefetcher * and the compiler (GCC -fprefetch-loop-arrays) with some * tuned manual prefetching (32x16=512B ahead), seems to * give 30% better performance on ARM C-A15 */ diff --git a/test/performance/odp_atomic.c b/test/performance/odp_atomic.c index 241295c..861ab83 100644 --- a/test/performance/odp_atomic.c +++ b/test/performance/odp_atomic.c @@ -44,7 +44,7 @@ static int odp_test_thread_exit(pthrd_arg *); #define MAX_WORKERS 32 /**< Max worker threads */ /** * add_sub_cnt could be any valid value - * so to excercise explicit atomic_add/sub + * so to exercise explicit atomic_add/sub * ops. For now using 5.. */ #define ADD_SUB_CNT 5 diff --git a/test/validation/odp_cpumask.c b/test/validation/odp_cpumask.c index b7e18d6..1b1c104 100644 --- a/test/validation/odp_cpumask.c +++ b/test/validation/odp_cpumask.c @@ -123,7 +123,7 @@ static void test_odp_cpumask_to_from_str(void) /* check that returned string matches original (with NULL): */ CU_ASSERT_NSTRING_EQUAL(buf_out, buf_in, stringlen(buf_in) + 1); - /* check that no extra buffer writes occured: */ + /* check that no extra buffer writes occurred: */ CU_ASSERT(buf_out[stringlen(buf_in) + 2] == FILLING_PATTERN); }