From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by dpdk.org (Postfix) with ESMTP id 8CE881B68E for ; Fri, 10 Nov 2017 09:24:30 +0100 (CET) Received: by mail-pf0-f193.google.com with SMTP id a84so1321458pfl.0 for ; Fri, 10 Nov 2017 00:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=qddqMNigHeubzLgPCVLntf3Avtvy/8l0D0rJrNEwcwg=; b=TCieTMxNiJkDe6tnfPgVOMKgv9XBs2rXMSwpvu1REs3gM4jsJMysutjP0IrG7pMnlk Z8UWwBBxjkkQ5+jnMt339LKECKK2bcbUqMPByd3UmMkOA4q99m8sXi6rrxjJBE/YCqqj gqVmHswZdsbjXIa1ZR5h/JObRJ/ZRb6ZjJCs+IAZEG/nF4ekFcmFUK6pWnnzqdoeKbnh Z8qtpl59gOOaP06NZwurHQrgUyk1G/beciMup+/VSvkiNc2NIbK0Y+Z7wcEt9iqe0ilV nPfDSj005gpNk/RGOdmBdfvbADoCZfaCUy1OEOkHoLuKTMEALI0/KDETzA+K9cD7twIy OsPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=qddqMNigHeubzLgPCVLntf3Avtvy/8l0D0rJrNEwcwg=; b=nzWwMt1SuOSVPPpsRFiBi551ORaCIy+/iTvoYlL4RrWAYwES5ge5lVtw3SkK/Dae+u sQkfB2UOTeQE3oD7lamEWdTMuGzHSQuduvVQjJzkHj5U1kYNYDbOWbzmXp97KMC3zjAG xC/o9RtDN3yaBaUUcbmlh4IO8dsannCUM/gcPHfgdwl9nZ4M+nDnIlKWLMfFgcP3V+OJ TWARBDkXBbCFjryCyc85iaAnnJF+ncXGmZcC8wFzjVvU3nC0d8bxSnX3XIVCSjIz2peC K+mj57DHcOYyfB0qNtriFo57423W9oievaheZSDizKp92olmRV1jy1FJi0lQ/JQ08oj5 sSrw== X-Gm-Message-State: AJaThX6nwwwnk9mGVvCqWNhhJRTXqE4fEOskSBUj0jPkUDuqloIrMSXI 1YyjoU3j5lmD7lRtInnJeSRfcQ== X-Google-Smtp-Source: ABhQp+Qcnb5CzJxwxQ3xKsf3nCHM4HW06boD6j5wA0bzoRSG0AYpoU3jgRNHR5DEExetSjq94PxqDg== X-Received: by 10.98.210.129 with SMTP id c123mr3528523pfg.77.1510302269433; Fri, 10 Nov 2017 00:24:29 -0800 (PST) Received: from localhost.localdomain ([50.35.88.106]) by smtp.gmail.com with ESMTPSA id a70sm16323734pfa.94.2017.11.10.00.24.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Nov 2017 00:24:28 -0800 (PST) From: Pavel Shirshov To: dev@dpdk.org Date: Fri, 10 Nov 2017 00:24:23 -0800 Message-Id: <1510302263-19667-1-git-send-email-pavel.shirshov@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] lib/librte_eal: Fix typos X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 08:24:31 -0000 Signed-off-by: Pavel Shirshov --- lib/librte_eal/common/eal_common_log.c | 2 +- lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h | 2 +- lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h | 2 +- lib/librte_eal/common/include/rte_eal.h | 2 +- lib/librte_eal/common/include/rte_log.h | 2 +- lib/librte_eal/common/malloc_elem.c | 2 +- lib/librte_eal/common/rte_service.c | 2 +- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- lib/librte_eal/linuxapp/eal/eal_timer.c | 2 +- lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c index be40413..e894b75 100644 --- a/lib/librte_eal/common/eal_common_log.c +++ b/lib/librte_eal/common/eal_common_log.c @@ -249,7 +249,7 @@ static const struct logtype logtype_strings[] = { {RTE_LOGTYPE_USER8, "user8"} }; -/* Logging should be first initialzer (before drivers and bus) */ +/* Logging should be first initializer (before drivers and bus) */ RTE_INIT_PRIO(rte_log_init, 101); static void rte_log_init(void) diff --git a/lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h b/lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h index c3a2619..e4dafda 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h +++ b/lib/librte_eal/common/include/arch/arm/rte_memcpy_32.h @@ -225,7 +225,7 @@ rte_memcpy_func(void *dst, const void *src, size_t n) * We split the remaining bytes (which will be less than 256) into * 64byte (2^6) chunks. * Using incrementing integers in the case labels of a switch statement - * enourages the compiler to use a jump table. To get incrementing + * encourages the compiler to use a jump table. To get incrementing * integers, we shift the 2 relevant bits to the LSB position to first * get decrementing integers, and then subtract. */ diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h b/lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h index ca9d1dc..75f7489 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_memcpy.h @@ -164,7 +164,7 @@ rte_memcpy_func(void *dst, const void *src, size_t n) * We split the remaining bytes (which will be less than 256) into * 64byte (2^6) chunks. * Using incrementing integers in the case labels of a switch statement - * enourages the compiler to use a jump table. To get incrementing + * encourages the compiler to use a jump table. To get incrementing * integers, we shift the 2 relevant bits to the LSB position to first * get decrementing integers, and then subtract. */ diff --git a/lib/librte_eal/common/include/rte_eal.h b/lib/librte_eal/common/include/rte_eal.h index 09b6681..8e4e71c 100644 --- a/lib/librte_eal/common/include/rte_eal.h +++ b/lib/librte_eal/common/include/rte_eal.h @@ -217,7 +217,7 @@ int rte_eal_primary_proc_alive(const char *config_file_path); /** * Usage function typedef used by the application usage function. * - * Use this function typedef to define and call rte_set_applcation_usage_hook() + * Use this function typedef to define and call rte_set_application_usage_hook() * routine. */ typedef void (*rte_usage_hook_t)(const char * prgname); diff --git a/lib/librte_eal/common/include/rte_log.h b/lib/librte_eal/common/include/rte_log.h index 16564d4..6c2d356 100644 --- a/lib/librte_eal/common/include/rte_log.h +++ b/lib/librte_eal/common/include/rte_log.h @@ -218,7 +218,7 @@ int rte_log_cur_msg_logtype(void); * The string identifying the log type. * @return * - >0: success, the returned value is the log type identifier. - * - (-ENONEM): cannot allocate memory. + * - (-ENOMEM): cannot allocate memory. */ int rte_log_register(const char *name); diff --git a/lib/librte_eal/common/malloc_elem.c b/lib/librte_eal/common/malloc_elem.c index 889dffd..98bcd37 100644 --- a/lib/librte_eal/common/malloc_elem.c +++ b/lib/librte_eal/common/malloc_elem.c @@ -252,7 +252,7 @@ malloc_elem_alloc(struct malloc_elem *elem, size_t size, unsigned align, } /* - * joing two struct malloc_elem together. elem1 and elem2 must + * join two struct malloc_elem together. elem1 and elem2 must * be contiguous in memory. */ static inline void diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c index 09b758c..ae97e6b 100644 --- a/lib/librte_eal/common/rte_service.c +++ b/lib/librte_eal/common/rte_service.c @@ -153,7 +153,7 @@ service_valid(uint32_t id) service = &rte_services[id]; \ } while (0) -/* returns 1 if statistics should be colleced for service +/* returns 1 if statistics should be collected for service * Returns 0 if statistics should not be collected for service */ static inline int diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c index a54b822..16a181c 100644 --- a/lib/librte_eal/linuxapp/eal/eal_memory.c +++ b/lib/librte_eal/linuxapp/eal/eal_memory.c @@ -344,7 +344,7 @@ void numa_error(char *where) * hugetlbfs, then mmap() hugepage_sz data in it. If orig is set, the * virtual address is stored in hugepg_tbl[i].orig_va, else it is stored * in hugepg_tbl[i].final_va. The second mapping (when orig is 0) tries to - * map continguous physical blocks in contiguous virtual blocks. + * map contiguous physical blocks in contiguous virtual blocks. */ static unsigned map_all_hugepages(struct hugepage_file *hugepg_tbl, struct hugepage_info *hpi, diff --git a/lib/librte_eal/linuxapp/eal/eal_timer.c b/lib/librte_eal/linuxapp/eal/eal_timer.c index 24349da..a616928 100644 --- a/lib/librte_eal/linuxapp/eal/eal_timer.c +++ b/lib/librte_eal/linuxapp/eal/eal_timer.c @@ -113,7 +113,7 @@ static pthread_t msb_inc_thread_id; /* * This function runs on a specific thread to update a global variable - * containing used to process MSB of the HPET (unfortunatelly, we need + * containing used to process MSB of the HPET (unfortunately, we need * this because hpet is 32 bits by default under linux). */ static void diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c b/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c index 1c30d12..5da7f91 100644 --- a/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c +++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c @@ -241,7 +241,7 @@ static s32 e1000_init_phy_params_82575(struct e1000_hw *hw) else phy->ops.get_cable_length = e1000_get_cable_length_m88; phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88; - /* Check if this PHY is confgured for media swap. */ + /* Check if this PHY is configured for media swap. */ if (phy->id == M88E1112_E_PHY_ID) { u16 data; -- 2.7.4