[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOJe8K1zCRZH-0-+ekDQ5T3mX2cGv1X-gBt1eg4co5HNPP+2vQ@mail.gmail.com>
Date: Thu, 26 Aug 2021 18:19:22 +0300
From: Denis Kirjanov <kda@...ux-powerpc.org>
To: Joe Perches <joe@...ches.com>
Cc: Colin King <colin.king@...onical.com>,
Raju Rangoju <rajur@...lsio.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cxgb4: clip_tbl: Fix spelling mistake "wont" -> "won't"
On 8/26/21, Joe Perches <joe@...ches.com> wrote:
> On Thu, 2021-08-26 at 13:01 +0100, Colin King wrote:
>> From: Colin Ian King <colin.king@...onical.com>
>>
>> There are spelling mistakes in dev_err and dev_info messages. Fix them.
> []
>> diff --git a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
>> b/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
> []
>> @@ -120,7 +120,7 @@ int cxgb4_clip_get(const struct net_device *dev, const
>> u32 *lip, u8 v6)
>> write_unlock_bh(&ctbl->lock);
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>> dev_err(adap->pdev_dev,
>> "CLIP FW cmd failed with error %d, "
>> - "Connections using %pI6c wont be "
>> + "Connections using %pI6c won't be "
>> "offloaded",
>> ret, ce->addr6.sin6_addr.s6_addr);
>> return ret;
>> @@ -133,7 +133,7 @@ int cxgb4_clip_get(const struct net_device *dev, const
>> u32 *lip, u8 v6)
>> } else {
>> write_unlock_bh(&ctbl->lock);
>> dev_info(adap->pdev_dev, "CLIP table overflow, "
>> - "Connections using %pI6c wont be offloaded",
>> + "Connections using %pI6c won't be offloaded",
>> (void *)lip);
>
> This is an unnecessary cast.
> And these could coalesce the format fragments and add newlines too.
and fix the leftover in the comment:
./t4_hw.c:7185: * set wont be sent when we are flashing FW.
>
>
>
Powered by blists - more mailing lists