From: Peter Meerwald-Stadler Date: Fri, 16 Dec 2016 13:23:36 +0000 (+0100) Subject: net: fec: Fix typo in error msg and comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=981a05478a1152f09b1eef9ef86b8554eb7adb8e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: fec: Fix typo in error msg and comment Signed-off-by: Peter Meerwald-Stadler Cc: Fugang Duan Acked-by: Fugang Duan Signed-off-by: Jiri Kosina --- diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 91a16641e851..cdd13c2886fc 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2001,7 +2001,7 @@ static int fec_enet_mii_init(struct platform_device *pdev) mii_speed--; if (mii_speed > 63) { dev_err(&pdev->dev, - "fec clock (%lu) to fast to get right mii speed\n", + "fec clock (%lu) too fast to get right mii speed\n", clk_get_rate(fep->clk_ipg)); err = -EINVAL; goto err_out; @@ -2947,7 +2947,7 @@ static void set_multicast_list(struct net_device *ndev) } /* only upper 6 bits (FEC_HASH_BITS) are used - * which point to specific bit in he hash registers + * which point to specific bit in the hash registers */ hash = (crc >> (32 - FEC_HASH_BITS)) & 0x3f;