From patchwork Fri Jul 22 21:40:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 114119 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15A47A0032; Fri, 22 Jul 2022 23:41:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F8F0427F9; Fri, 22 Jul 2022 23:41:13 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 0DCFA40156 for ; Fri, 22 Jul 2022 23:41:10 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id w185so5503054pfb.4 for ; Fri, 22 Jul 2022 14:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eFWYTDYv0Y12xmVUzi4jSyFFSME3lHHVSWivfDUJFEo=; b=F/rNkKaH3IYNvZX1/urYKjppNqJkBqILx++evHel++LjcXoV6QjereJZHlmLdbEBF6 V34py6X5BCltibpmVqllFXRKWdEFMYqXoXIWJZp5LK/cLg4Tli3sdqCylA+ew/il7JVp CZqANsmSxjrPISEN4a5Rt6Ca0MPW+MP/FgsFAQAWkZJf9Aqe2EWmB3hxiZ5OlSCyhBMv yzRtccD2rqrauMRPQhyjBrfWS+jG5MY3dcqgAks+EUtL9Tjd7tfVSiE0YnSnE6qExMgk fJteeIFNrVKouV9lNe61v9ur7e4gtCDdJQI+8lG1IjySfzpFw48QIN+/JXEe7b47XpHo w9YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eFWYTDYv0Y12xmVUzi4jSyFFSME3lHHVSWivfDUJFEo=; b=E+t3jUQr/I91OrUTkHkSMhmkyhi17+tiOVqQptOs2n0ofzSK/PuKkDLZBTLJsruSA1 vFroZdLBjd0WTw0q5ztjifjQdnpmJ2+FvsXFdyUROPreCfEL2H+MoPNfhNmLER+iwyI7 1VmoxpiGSw4Um8s4QrwEi5I9OibEB6NIVqx7IIH9ARN/tYgB7LwXnUBoFxJ4aqhOfrvJ HP8soF7yP5P94negGNq+apUspg4HvAdHECyER+SYGNS5PZYOW1tL0/T0tqrV9AW31xUS 2V4ni8uTbr2RD46v5GwCMK6hC1jCHtP9AhbO2wPKSwiWHNrQO66vshbVn1cl8JDAFQqx jXlw== X-Gm-Message-State: AJIora88P9ycxezfhqrb2sl4dqtnd1uCaccBqSFqKCajzLEi+u+YLumR V86iKh6CGPptPFfsipBDa/fhDIaXjG+3Jw== X-Google-Smtp-Source: AGRyM1vT/YKStsTGbEhUEdmPc8jt3QkSwfU1W0yANUT4Q1q8nZy0whLEm0YNP7c3TSj3zjQSFezEEQ== X-Received: by 2002:a63:905:0:b0:415:fcde:2423 with SMTP id 5-20020a630905000000b00415fcde2423mr1549867pgj.374.1658526069980; Fri, 22 Jul 2022 14:41:09 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d3-20020a17090a6a4300b001e31fea8c85sm5945526pjm.14.2022.07.22.14.41.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 14:41:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Andrew Rybchenko , Cristian Dumitrescu , David Hunt Subject: [PATCH 01/11] remove duplicated 'to to' in messages and comments Date: Fri, 22 Jul 2022 14:40:56 -0700 Message-Id: <20220722214106.162640-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220722214106.162640-1-stephen@networkplumber.org> References: <20220722214106.162640-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Found by doing duplicate word scan. Signed-off-by: Stephen Hemminger --- app/test/test_resource.c | 2 +- drivers/common/sfc_efx/base/siena_nvram.c | 2 +- lib/pipeline/rte_swx_ctl.c | 2 +- lib/power/guest_channel.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test/test_resource.c b/app/test/test_resource.c index 8f41e3babdc5..05c27db203cc 100644 --- a/app/test/test_resource.c +++ b/app/test/test_resource.c @@ -45,7 +45,7 @@ static int test_resource_c(void) r->name); TEST_ASSERT_SUCCESS(resource_fwrite_file(r, "test_resource.c"), - "Failed to to write file %s", r->name); + "Failed to write file %s", r->name); f = fopen("test_resource.c", "r"); TEST_ASSERT_NOT_NULL(f, diff --git a/drivers/common/sfc_efx/base/siena_nvram.c b/drivers/common/sfc_efx/base/siena_nvram.c index 05ca4bd83dc9..ebcd3487b631 100644 --- a/drivers/common/sfc_efx/base/siena_nvram.c +++ b/drivers/common/sfc_efx/base/siena_nvram.c @@ -532,7 +532,7 @@ siena_nvram_partn_get_version( : MC_CMD_NVRAM_TYPE_DYNAMIC_CFG_PORT1; /* * Ingore missing partitions on port 2, assuming they're due - * to to running on a single port part. + * to running on a single port part. */ if ((1 << dcfg_partn) & ~enp->en_u.siena.enu_partn_mask) { if (entry->port == 2) diff --git a/lib/pipeline/rte_swx_ctl.c b/lib/pipeline/rte_swx_ctl.c index 710e89a46a26..9b7bf5e0fb01 100644 --- a/lib/pipeline/rte_swx_ctl.c +++ b/lib/pipeline/rte_swx_ctl.c @@ -1582,7 +1582,7 @@ rte_swx_ctl_pipeline_table_entry_delete(struct rte_swx_ctl_pipeline *ctl, CHECK(!table_entry_check(ctl, table_id, entry, 1, 0), EINVAL); /* The entry is found in the table->entries list: - * - Move the existing entry from the table->entries list to to the + * - Move the existing entry from the table->entries list to the * table->pending_delete list. */ existing_entry = table_entries_find(table, entry); diff --git a/lib/power/guest_channel.c b/lib/power/guest_channel.c index 969a9e5aaa06..7b2ae0b6506f 100644 --- a/lib/power/guest_channel.c +++ b/lib/power/guest_channel.c @@ -74,7 +74,7 @@ guest_channel_host_connect(const char *path, unsigned int lcore_id) fd_path, lcore_id); fd = open(fd_path, O_RDWR); if (fd < 0) { - RTE_LOG(ERR, GUEST_CHANNEL, "Unable to to connect to '%s' with error " + RTE_LOG(ERR, GUEST_CHANNEL, "Unable to connect to '%s' with error " "%s\n", fd_path, strerror(errno)); return -1; }