From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13FC6A0487 for ; Mon, 1 Jul 2019 20:26:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1E7F1B9C6; Mon, 1 Jul 2019 20:26:00 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 676A925D9 for ; Mon, 1 Jul 2019 20:25:51 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id g15so4525835pgi.4 for ; Mon, 01 Jul 2019 11:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SYe/Cntn+U92ye2nFY301qSCrJxt0VGLyYqcwLxsV80=; b=pDUtzEPjMqZ2AS7Tl1/N5BrmYyMm1F7PvIIGlzkt+WDfB7kZdfabdR5HOwAoU57f0M cmrBIIcuHkU3xxnfCPFqSIPgvOGAiRs56fMplDbVs3C+K5oR0bkOSbLy1K3daUF/8Ia+ sGVPbSOP5qcqRzD2mtZ5kRV7MOcTXFbEPYqkKM05vtKwUJvqC6muR+n6xkxB4MasrqvR Cd5WBbxGXLGzxCYNIT3+fLjwGDASLlYZ40cguRiyMxwfuKqmqtJunK/sk8aqXVwUuCbD m4pKSdDZJWOENZnsVKHpkTRum+CmFXWYHh+BHj9rBL5JUZLsDQs8qyzfqfg8qfQG1whC xo/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SYe/Cntn+U92ye2nFY301qSCrJxt0VGLyYqcwLxsV80=; b=hkQ+rBXh1+zyFxERw7p/ZpNB6NuwhsqiSQVwFraDwyHBz7Oik0LDGrwFIq9QyYSMhm Pj1/xJkOuYigB0+OX9prYwr0h737J+wjAN7CQtVpQxJmDCE+zEWH0qf2UJKmi7AK5V6A LcLDI/vuUetKcMg3nSNZrSVIElT+q1cLCZ5xskt+9dojJWmaJb1eiQnpQMm+YsnO5iDq LUIxkJh5GmtM1DiFc3aSzgbV2KTZLiFS7spZiW/+zzHdEnRZqfpgIDD1gc+3VI/+jMAi +5075Xv7f0JuDzoeePNPyw/Ng/WQb2kKqdt0lwDJd5IYxeCYrWkF98hUbvNGNKFvL6u5 UThg== X-Gm-Message-State: APjAAAWGt7qce5NGMDQZPSutwdblu4v7aD7Poqlywymrr08GKhqp9DYV q8xeRfz5qQKyO70sUe8JMvgmaHqx X-Google-Smtp-Source: APXvYqzRy7GTQlRBY3rrZbQr46ilTFauXvPCutiZIPe/17asMVOr7VpmUwZ3XxtQrtjGs5qsYhjWaw== X-Received: by 2002:a17:90a:2641:: with SMTP id l59mr650690pje.55.1562005550281; Mon, 01 Jul 2019 11:25:50 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 12sm11397340pfi.60.2019.07.01.11.25.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 01 Jul 2019 11:25:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Mon, 1 Jul 2019 11:25:12 -0700 Message-Id: <20190701182536.20110-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org> References: <20190701182536.20110-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 06/30] power: fix spelling errors 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Minor typo's found by codespell. Signed-off-by: Stephen Hemminger --- lib/librte_power/power_acpi_cpufreq.c | 6 +++--- lib/librte_power/power_pstate_cpufreq.c | 6 +++--- lib/librte_power/rte_power.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/librte_power/power_acpi_cpufreq.c b/lib/librte_power/power_acpi_cpufreq.c index 7c386f891ebd..be24c2915344 100644 --- a/lib/librte_power/power_acpi_cpufreq.c +++ b/lib/librte_power/power_acpi_cpufreq.c @@ -30,7 +30,7 @@ #define FOPEN_OR_ERR_RET(f, retval) do { \ if ((f) == NULL) { \ - RTE_LOG(ERR, POWER, "File not openned\n"); \ + RTE_LOG(ERR, POWER, "File not opened\n"); \ return retval; \ } \ } while (0) @@ -109,7 +109,7 @@ set_freq_internal(struct rte_power_info *pi, uint32_t idx) if (idx == pi->curr_idx) return 0; - POWER_DEBUG_TRACE("Freqency[%u] %u to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n", idx, pi->freqs[idx], pi->lcore_id); if (fseek(pi->f, 0, SEEK_SET) < 0) { RTE_LOG(ERR, POWER, "Fail to set file position indicator to 0 " @@ -225,7 +225,7 @@ power_get_available_freqs(struct rte_power_info *pi) goto out; } - /* Store the available frequncies into power context */ + /* Store the available frequencies into power context */ for (i = 0, pi->nb_freqs = 0; i < count; i++) { POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id, i, freqs[i]); diff --git a/lib/librte_power/power_pstate_cpufreq.c b/lib/librte_power/power_pstate_cpufreq.c index ecbcb3ac9952..8f095e0ab1bc 100644 --- a/lib/librte_power/power_pstate_cpufreq.c +++ b/lib/librte_power/power_pstate_cpufreq.c @@ -33,7 +33,7 @@ #define FOPEN_OR_ERR_RET(f, retval) do { \ if ((f) == NULL) { \ - RTE_LOG(ERR, POWER, "File not openned\n"); \ + RTE_LOG(ERR, POWER, "File not opened\n"); \ return retval; \ } \ } while (0) @@ -287,7 +287,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx) return -1; } - POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n", target_freq, pi->lcore_id); fflush(pi->f_cur_min); @@ -310,7 +310,7 @@ set_freq_internal(struct pstate_power_info *pi, uint32_t idx) return -1; } - POWER_DEBUG_TRACE("Freqency '%u' to be set for lcore %u\n", + POWER_DEBUG_TRACE("Frequency '%u' to be set for lcore %u\n", target_freq, pi->lcore_id); fflush(pi->f_cur_max); diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 01f88588b5cf..427058b8118c 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -26,7 +26,7 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, /** * Set the default power management implementation. If this is not called prior * to rte_power_init(), then auto-detect of the environment will take place. - * It is thread safe. New env can be set only in unitialized state + * It is thread safe. New env can be set only in uninitialized state * (thus rte_power_unset_env must be called if different env was already set). * * @param env -- 2.20.1