Skip to contentSkip to conversation

fix typos: "to short" -> "too short"

PATCH Applied Tong Zhang 2 participants 6 messages Mar 21, 2022

Subsystems (6)
lore
Share & tools
lore

Tong Zhang

author
#0 lore raw

cover fix typos: "to short" -> "too short"

doing some code review and I found out there are a couple of places where "too short" is misspelled as "to short".

Tong Zhang (4):
ar5523: fix typo "to short" -> "too short" s390/ctcm: fix typo "length to short" -> "length too short"
i825xx: fix typo "Frame to short" -> "Frame too short"
mISDN: fix typo "frame to short" -> "frame too short"

 drivers/isdn/hardware/mISDN/mISDNipac.c  | 2 +-
 drivers/isdn/hardware/mISDN/mISDNisar.c  | 4 ++--
 drivers/net/ethernet/i825xx/sun3_82586.h | 2 +-
 drivers/net/wireless/ath/ar5523/ar5523.c | 2 +-
 drivers/s390/net/ctcm_fsms.c             | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/4 ar5523: fix typo "to short" -> "too short"

"RX USB to short" -> "RX USB too short"

---
 drivers/net/wireless/ath/ar5523/ar5523.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ar5523/ar5523.c +1 -1
index 141c1b5a7b1f..9cabd342d156 100644
@@ -104,7 +104,7 @@ static void ar5523_cmd_rx_cb(struct urb *urb)
 	}
 
 	if (urb->actual_length < sizeof(struct ar5523_cmd_hdr)) {
-		ar5523_err(ar, "RX USB to short.\n");
+		ar5523_err(ar, "RX USB too short.\n");
 		goto skip;
 	}
 
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH 2/4 s390/ctcm: fix typo "length to short" -> "length too short"

In reply to Tong Zhang

"packet length to short" -> "packet length too short"

---
 drivers/s390/net/ctcm_fsms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/s390/net/ctcm_fsms.c +1 -1
index 5db591cf7215..dfb84bb03d32 100644
@@ -1394,7 +1394,7 @@ static void ctcmpc_chx_rx(fsm_instance *fi, int event, void *arg)
 
 	if (len < TH_HEADER_LENGTH) {
 		CTCM_DBF_TEXT_(MPC_ERROR, CTC_DBF_ERROR,
-				"%s(%s): packet length %d to short",
+				"%s(%s): packet length %d too short",
 					CTCM_FUNTAIL, dev->name, len);
 		priv->stats.rx_dropped++;
 		priv->stats.rx_length_errors++;
Signature · 1 line
2.25.1
author
#3 lore raw

PATCH 3/4 i825xx: fix typo "Frame to short" -> "Frame too short"

In reply to Tong Zhang

"Frame to short" -> "Frame too short"

---
 drivers/net/ethernet/i825xx/sun3_82586.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/i825xx/sun3_82586.h +1 -1
index 79aef681ac85..eb4138036b97 100644
@@ -150,7 +150,7 @@ struct rfd_struct
 #define RFD_ERR_RNR  0x02     /* status: receiver out of resources */
 #define RFD_ERR_OVR  0x01     /* DMA Overrun! */
 
-#define RFD_ERR_FTS  0x0080	/* Frame to short */
+#define RFD_ERR_FTS  0x0080	/* Frame too short */
 #define RFD_ERR_NEOP 0x0040	/* No EOP flag (for bitstuffing only) */
 #define RFD_ERR_TRUN 0x0020	/* (82596 only/SF mode) indicates truncated frame */
 #define RFD_MATCHADD 0x0002     /* status: Destinationaddress !matches IA (only 82596) */
Signature · 1 line
2.25.1
author
#4 lore raw

PATCH 4/4 mISDN: fix typo "frame to short" -> "frame too short"

In reply to Tong Zhang

"frame to short" -> "frame too short"

---
 drivers/isdn/hardware/mISDN/mISDNipac.c | 2 +-
 drivers/isdn/hardware/mISDN/mISDNisar.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/isdn/hardware/mISDN/mISDNipac.c +1 -1
index 39f841b42488..4f8d85bb3ce1 100644
@@ -1062,7 +1062,7 @@ ipac_rme(struct hscx_hw *hx)
 	if (!hx->bch.rx_skb)
 		return;
 	if (hx->bch.rx_skb->len < 2) {
-		pr_debug("%s: B%1d frame to short %d\n",
+		pr_debug("%s: B%1d frame too short %d\n",
 			 hx->ip->name, hx->bch.nr, hx->bch.rx_skb->len);
 		skb_trim(hx->bch.rx_skb, 0);
 	} else {
drivers/isdn/hardware/mISDN/mISDNisar.c +2 -2
index 56943409b60d..48b3d43e2502 100644
@@ -466,7 +466,7 @@ isar_rcv_frame(struct isar_ch *ch)
 		rcv_mbox(ch->is, ptr);
 		if (ch->is->cmsb & HDLC_FED) {
 			if (ch->bch.rx_skb->len < 3) { /* last 2 are the FCS */
-				pr_debug("%s: ISAR frame to short %d\n",
+				pr_debug("%s: ISAR frame too short %d\n",
 					 ch->is->name, ch->bch.rx_skb->len);
 				skb_trim(ch->bch.rx_skb, 0);
 				break;
@@ -542,7 +542,7 @@ isar_rcv_frame(struct isar_ch *ch)
 		rcv_mbox(ch->is, ptr);
 		if (ch->is->cmsb & HDLC_FED) {
 			if (ch->bch.rx_skb->len < 3) { /* last 2 are the FCS */
-				pr_info("%s: ISAR frame to short %d\n",
+				pr_info("%s: ISAR frame too short %d\n",
 					ch->is->name, ch->bch.rx_skb->len);
 				skb_trim(ch->bch.rx_skb, 0);
 				break;
Signature · 1 line
2.25.1
#5 lore raw
In reply to Tong Zhang
This series was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 10 lines · On Mon, 21 Mar 2022 00:13:50 -0700 you wrote:

doing some code review and I found out there are a couple of places where "too short" is misspelled as "to short".

Tong Zhang (4):
ar5523: fix typo "to short" -> "too short" s390/ctcm: fix typo "length to short" -> "length too short"
i825xx: fix typo "Frame to short" -> "Frame too short"
mISDN: fix typo "frame to short" -> "frame too short"

[...]

Here is the summary with links:
- [1/4] ar5523: fix typo "to short" -> "too short"

    https://git.kernel.org/netdev/net-next/c/e94b99a40b99
  - [2/4] s390/ctcm: fix typo "length to short" -> "length too short"
    https://git.kernel.org/netdev/net-next/c/4f3dda8b4c4b
  - [3/4] i825xx: fix typo "Frame to short" -> "Frame too short"
    https://git.kernel.org/netdev/net-next/c/d2d803d1c72b
  - [4/4] mISDN: fix typo "frame to short" -> "frame too short"
    https://git.kernel.org/netdev/net-next/c/dc97870682e1

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html