[PATCH 01/11] remove duplicated 'to to' in messages and comments
Stephen Hemminger
stephen at networkplumber.org
Fri Jul 22 23:40:56 CEST 2022
Found by doing duplicate word scan.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
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;
}
--
2.35.1
More information about the dev
mailing list