kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c
@ 2024-10-23  3:21 Johnny Park
  2024-10-23  8:04 ` [Intel-wired-lan] " Paul Menzel
  2024-10-23 12:02 ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Johnny Park @ 2024-10-23  3:21 UTC (permalink / raw)
  To: horms
  Cc: anthony.l.nguyen, przemyslaw.kitszel, davem, edumazet, kuba,
	pabeni, andrew, intel-wired-lan, netdev, kernel-janitors,
	linux-kernel

Simple patch that fix spelling mistakes in igb_main.c

Signed-off-by: Johnny Park <pjohnny0508@gmail.com>
---
Changes in v2:
  - Fix spelling mor -> more
---
 drivers/net/ethernet/intel/igb/igb_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index 1ef4cb871452..fc587304b3c0 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -1204,7 +1204,7 @@ static int igb_alloc_q_vector(struct igb_adapter *adapter,
 	/* initialize pointer to rings */
 	ring = q_vector->ring;
 
-	/* intialize ITR */
+	/* initialize ITR */
 	if (rxr_count) {
 		/* rx or rx/tx vector */
 		if (!adapter->rx_itr_setting || adapter->rx_itr_setting > 3)
@@ -3906,7 +3906,7 @@ static void igb_remove(struct pci_dev *pdev)
  *
  *  This function initializes the vf specific data storage and then attempts to
  *  allocate the VFs.  The reason for ordering it this way is because it is much
- *  mor expensive time wise to disable SR-IOV than it is to allocate and free
+ *  more expensive time wise to disable SR-IOV than it is to allocate and free
  *  the memory for the VFs.
  **/
 static void igb_probe_vfs(struct igb_adapter *adapter)
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Intel-wired-lan] [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c
  2024-10-23  3:21 [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c Johnny Park
@ 2024-10-23  8:04 ` Paul Menzel
  2024-10-24  4:51   ` Johnny Park
  2024-10-23 12:02 ` Simon Horman
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2024-10-23  8:04 UTC (permalink / raw)
  To: Johnny Park
  Cc: horms, anthony.l.nguyen, przemyslaw.kitszel, davem, edumazet,
	kuba, pabeni, andrew, intel-wired-lan, netdev, kernel-janitors,
	linux-kernel

Dear Johnny,


Thank you for your patch. I recommend to put the information, that the 
typos are only in comments, to the summary/title:

igb: Fix 2 typos in comments in igb_main.c

That way, skimming `git log --oneline` is more informative.

Am 23.10.24 um 05:21 schrieb Johnny Park:
> Simple patch that fix spelling mistakes in igb_main.c

fix*es*, but better use imperative mood:

Fix 2 spelling mistakes in comments `igb_main.c`.

> Signed-off-by: Johnny Park <pjohnny0508@gmail.com>
> ---
> Changes in v2:
>    - Fix spelling mor -> more
> ---
>   drivers/net/ethernet/intel/igb/igb_main.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
> index 1ef4cb871452..fc587304b3c0 100644
> --- a/drivers/net/ethernet/intel/igb/igb_main.c
> +++ b/drivers/net/ethernet/intel/igb/igb_main.c
> @@ -1204,7 +1204,7 @@ static int igb_alloc_q_vector(struct igb_adapter *adapter,
>   	/* initialize pointer to rings */
>   	ring = q_vector->ring;
>   
> -	/* intialize ITR */
> +	/* initialize ITR */
>   	if (rxr_count) {
>   		/* rx or rx/tx vector */
>   		if (!adapter->rx_itr_setting || adapter->rx_itr_setting > 3)
> @@ -3906,7 +3906,7 @@ static void igb_remove(struct pci_dev *pdev)
>    *
>    *  This function initializes the vf specific data storage and then attempts to
>    *  allocate the VFs.  The reason for ordering it this way is because it is much
> - *  mor expensive time wise to disable SR-IOV than it is to allocate and free
> + *  more expensive time wise to disable SR-IOV than it is to allocate and free
>    *  the memory for the VFs.
>    **/
>   static void igb_probe_vfs(struct igb_adapter *adapter)

Rest looks good.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c
  2024-10-23  3:21 [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c Johnny Park
  2024-10-23  8:04 ` [Intel-wired-lan] " Paul Menzel
@ 2024-10-23 12:02 ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2024-10-23 12:02 UTC (permalink / raw)
  To: Johnny Park
  Cc: anthony.l.nguyen, przemyslaw.kitszel, davem, edumazet, kuba,
	pabeni, andrew, intel-wired-lan, netdev, kernel-janitors,
	linux-kernel

On Tue, Oct 22, 2024 at 09:21:28PM -0600, Johnny Park wrote:
> Simple patch that fix spelling mistakes in igb_main.c
> 
> Signed-off-by: Johnny Park <pjohnny0508@gmail.com>
> ---
> Changes in v2:
>   - Fix spelling mor -> more

Thanks for the update.
I checked and this addresses all false-positives flagged by codespell in
this file.

Reviewed-by: Simon Horman <horms@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Intel-wired-lan] [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c
  2024-10-23  8:04 ` [Intel-wired-lan] " Paul Menzel
@ 2024-10-24  4:51   ` Johnny Park
  0 siblings, 0 replies; 4+ messages in thread
From: Johnny Park @ 2024-10-24  4:51 UTC (permalink / raw)
  To: Paul Menzel
  Cc: horms, anthony.l.nguyen, przemyslaw.kitszel, davem, edumazet,
	kuba, pabeni, andrew, intel-wired-lan, netdev, kernel-janitors,
	linux-kernel

On Wed, Oct 23, 2024 at 10:04:45AM +0200, Paul Menzel wrote:
> Dear Johnny,
> 
> 
> Thank you for your patch. I recommend to put the information, that the typos
> are only in comments, to the summary/title:
> 
> igb: Fix 2 typos in comments in igb_main.c
> 
> That way, skimming `git log --oneline` is more informative.
> 
> Am 23.10.24 um 05:21 schrieb Johnny Park:
> > Simple patch that fix spelling mistakes in igb_main.c
> 
> fix*es*, but better use imperative mood:
> 
> Fix 2 spelling mistakes in comments `igb_main.c`.
> 
Hello Paul,

I appreciate your comments, I'll address those in the new patch shortly.

Thanks,

Johnny

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-24  4:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23  3:21 [PATCH v2 1/1] [net-next] igb: Fix spelling in igb_main.c Johnny Park
2024-10-23  8:04 ` [Intel-wired-lan] " Paul Menzel
2024-10-24  4:51   ` Johnny Park
2024-10-23 12:02 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).