linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat")
@ 2023-01-29 19:53 Jonathan Neuschäfer
  2023-01-30  9:48 ` Leon Romanovsky
  2023-01-30 17:44 ` Jeroen Roovers
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Neuschäfer @ 2023-01-29 19:53 UTC (permalink / raw)
  To: netdev
  Cc: Simon Horman, Jonathan Neuschäfer, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, linux-parisc,
	linux-kernel

Spell them as "default" and "heartbeat".

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---

v2:
- also fix "hearbeat", as suggested by Simon Horman
---
 drivers/net/ethernet/dec/tulip/tulip.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/dec/tulip/tulip.h b/drivers/net/ethernet/dec/tulip/tulip.h
index 0ed598dc7569c..10d7d8de93660 100644
--- a/drivers/net/ethernet/dec/tulip/tulip.h
+++ b/drivers/net/ethernet/dec/tulip/tulip.h
@@ -250,7 +250,7 @@ enum t21143_csr6_bits {
 	csr6_ttm = (1<<22),  /* Transmit Threshold Mode, set for 10baseT, 0 for 100BaseTX */
 	csr6_sf = (1<<21),   /* Store and forward. If set ignores TR bits */
 	csr6_hbd = (1<<19),  /* Heart beat disable. Disables SQE function in 10baseT */
-	csr6_ps = (1<<18),   /* Port Select. 0 (defualt) = 10baseT, 1 = 100baseTX: can't be set */
+	csr6_ps = (1<<18),   /* Port Select. 0 (default) = 10baseT, 1 = 100baseTX: can't be set */
 	csr6_ca = (1<<17),   /* Collision Offset Enable. If set uses special algorithm in low collision situations */
 	csr6_trh = (1<<15),  /* Transmit Threshold high bit */
 	csr6_trl = (1<<14),  /* Transmit Threshold low bit */
@@ -274,7 +274,7 @@ enum t21143_csr6_bits {
 	csr6_om_int_loop = (1<<10), /* internal (FIFO) loopback flag */
 	csr6_om_ext_loop = (1<<11), /* external (PMD) loopback flag */
 	/* set both and you get (PHY) loopback */
-	csr6_fd = (1<<9),    /* Full duplex mode, disables hearbeat, no loopback */
+	csr6_fd = (1<<9),    /* Full duplex mode, disables heartbeat, no loopback */
 	csr6_pm = (1<<7),    /* Pass All Multicast */
 	csr6_pr = (1<<6),    /* Promiscuous mode */
 	csr6_sb = (1<<5),    /* Start(1)/Stop(0) backoff counter */
--
2.39.0


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

* Re: [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat")
  2023-01-29 19:53 [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat") Jonathan Neuschäfer
@ 2023-01-30  9:48 ` Leon Romanovsky
  2023-01-30 17:44 ` Jeroen Roovers
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2023-01-30  9:48 UTC (permalink / raw)
  To: Jonathan Neuschäfer
  Cc: netdev, Simon Horman, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-parisc, linux-kernel

On Sun, Jan 29, 2023 at 08:53:08PM +0100, Jonathan Neuschäfer wrote:
> Spell them as "default" and "heartbeat".
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---
> 
> v2:
> - also fix "hearbeat", as suggested by Simon Horman
> ---
>  drivers/net/ethernet/dec/tulip/tulip.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch title should include target: "PATCH net-next ...".

Thanks

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

* Re: [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat")
  2023-01-29 19:53 [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat") Jonathan Neuschäfer
  2023-01-30  9:48 ` Leon Romanovsky
@ 2023-01-30 17:44 ` Jeroen Roovers
  1 sibling, 0 replies; 3+ messages in thread
From: Jeroen Roovers @ 2023-01-30 17:44 UTC (permalink / raw)
  To: Jonathan Neuschäfer
  Cc: netdev, Simon Horman, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-parisc, linux-kernel

On Sun, 29 Jan 2023 20:53:08 +0100
Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:

> Spell them as "default" and "heartbeat".
> 
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
> ---
> 
> v2:
> - also fix "hearbeat", as suggested by Simon Horman
> ---
>  drivers/net/ethernet/dec/tulip/tulip.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/dec/tulip/tulip.h
> b/drivers/net/ethernet/dec/tulip/tulip.h index
> 0ed598dc7569c..10d7d8de93660 100644 ---
> a/drivers/net/ethernet/dec/tulip/tulip.h +++
> b/drivers/net/ethernet/dec/tulip/tulip.h @@ -250,7 +250,7 @@ enum
> t21143_csr6_bits { csr6_ttm = (1<<22),  /* Transmit Threshold Mode,
> set for 10baseT, 0 for 100BaseTX */ csr6_sf = (1<<21),   /* Store and
> forward. If set ignores TR bits */ csr6_hbd = (1<<19),  /* Heart beat
> disable. Disables SQE function in 10baseT */

If you are going to put "heartbeat" in the title of the patch, you may
want to fix "Heart beat" to match here as well. :-)


Kind regards,
     jer

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

end of thread, other threads:[~2023-01-30 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-29 19:53 [PATCH v2] net: tulip: Fix typos ("defualt" and "hearbeat") Jonathan Neuschäfer
2023-01-30  9:48 ` Leon Romanovsky
2023-01-30 17:44 ` Jeroen Roovers

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).