[PATCH] drivers: net: aquantia: fix typos

Ramon Fried rfried.dev at gmail.com
Wed Nov 9 09:21:51 CET 2022


On Thu, Nov 3, 2022 at 11:44 PM Tim Harvey <tharvey at gateworks.com> wrote:
>
> Fix a couple of typos:
> - s/Acquantia/Aquantia/
> - s/firmare/firmware/
>
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> ---
>  drivers/net/phy/aquantia.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c
> index 7e950fe0c2fe..79fbc115368a 100644
> --- a/drivers/net/phy/aquantia.c
> +++ b/drivers/net/phy/aquantia.c
> @@ -136,7 +136,7 @@ static int aquantia_read_fw(u8 **fw_addr, size_t *fw_length)
>
>         *fw_addr = NULL;
>         *fw_length = 0;
> -       debug("Loading Acquantia microcode from %s %s\n",
> +       debug("Loading Aquantia microcode from %s %s\n",
>               CONFIG_PHY_AQUANTIA_FW_PART, CONFIG_PHY_AQUANTIA_FW_NAME);
>         ret = fs_set_blk_dev("mmc", CONFIG_PHY_AQUANTIA_FW_PART, FS_TYPE_ANY);
>         if (ret < 0)
> @@ -163,7 +163,7 @@ static int aquantia_read_fw(u8 **fw_addr, size_t *fw_length)
>
>         *fw_addr = addr;
>         *fw_length = length;
> -       debug("Found Acquantia microcode.\n");
> +       debug("Found Aquantia microcode.\n");
>
>  cleanup:
>         if (ret < 0) {
> @@ -257,7 +257,7 @@ static int aquantia_upload_firmware(struct phy_device *phydev)
>
>         strlcpy(version, (char *)&addr[dram_offset + VERSION_STRING_OFFSET],
>                 VERSION_STRING_SIZE);
> -       printf("%s loading firmare version '%s'\n", phydev->dev->name, version);
> +       printf("%s loading firmware version '%s'\n", phydev->dev->name, version);
>
>         /* stall the microcprocessor */
>         phy_write(phydev, MDIO_MMD_VEND1, UP_CONTROL,
> @@ -288,7 +288,7 @@ static int aquantia_upload_firmware(struct phy_device *phydev)
>
>         phy_write(phydev, MDIO_MMD_VEND1, UP_CONTROL, UP_RUN_STALL_OVERRIDE);
>
> -       printf("%s firmare loading done.\n", phydev->dev->name);
> +       printf("%s firmware loading done.\n", phydev->dev->name);
>  done:
>         free(addr);
>         return ret;
> --
> 2.25.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list