Re: [PATCH] net: fec: fix spelling mistake "coalesed" -> "coalesced"

From: Joe Perches
Date: Sun Jun 05 2016 - 02:36:46 EST


On Sat, 2016-06-04 at 16:43 -0300, Augusto Mecking Caringi wrote:
> On Sat, Jun 4, 2016 at 4:01 PM, Colin King <colin.king@xxxxxxxxxxxxx> wrote:
> > From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> > trivial fix to spelling mistake in pr_err message
[]
> > diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
[]
> > @@ -2427,13 +2427,13 @@ fec_enet_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *ec)
> >
> >         cycle = fec_enet_us_to_itr_clock(ndev, fep->rx_time_itr);
> >         if (cycle > 0xFFFF) {
> > -               pr_err("Rx coalesed usec exceeed hardware limiation");
> > +               pr_err("Rx coalesced usec exceeed hardware limiation");
> >                 return -EINVAL;
> >         }
> >
> >         cycle = fec_enet_us_to_itr_clock(ndev, fep->tx_time_itr);
> >         if (cycle > 0xFFFF) {
> > -               pr_err("Rx coalesed usec exceeed hardware limiation");
> > +               pr_err("Rx coalesced usec exceeed hardware limiation");
> >                 return -EINVAL;
> >         }
> >
> s/limiation/limitation

Could also add \n terminations to the pr_err uses.