From e4a874f09dc496ed95829f679f5df6c9db6f037f Mon Sep 17 00:00:00 2001 From: "Andries E. Brouwer" Date: Sat, 19 Apr 2003 02:21:35 -0700 Subject: [PATCH] [PATCH] s/to long/too long/ --- Documentation/isdn/README.hysdn | 2 +- drivers/bluetooth/btuart_cs.c | 4 ++-- drivers/bluetooth/dtl1_cs.c | 4 ++-- drivers/isdn/hisax/amd7930_fn.c | 2 +- drivers/isdn/hisax/hfc_sx.c | 2 +- drivers/net/irda/ali-ircc.c | 2 +- drivers/net/irda/irport.c | 4 ++-- drivers/net/sk98lin/skvpd.c | 3 ++- drivers/net/skfp/hwmtm.c | 2 +- drivers/net/tokenring/tms380tr.c | 2 +- drivers/usb/image/mdc800.c | 2 +- include/linux/hysdn_if.h | 2 +- net/irda/discovery.c | 2 +- net/irda/iriap.c | 2 +- 14 files changed, 18 insertions(+), 17 deletions(-) diff --git a/Documentation/isdn/README.hysdn b/Documentation/isdn/README.hysdn index 94e9f902b9991..56cc59df1fb75 100644 --- a/Documentation/isdn/README.hysdn +++ b/Documentation/isdn/README.hysdn @@ -131,7 +131,7 @@ Table of contents 1006 Second boot stage failure 1007 Timeout waiting for card ready during boot 1008 Operation only allowed in booted state - 1009 Config line to long + 1009 Config line too long 1010 Invalid channel number 1011 Timeout sending config data diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index afc6e99ab7a2b..8bd487fb9a09a 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c @@ -294,7 +294,7 @@ static void btuart_receive(btuart_info_t *info) } - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 16) break; @@ -343,7 +343,7 @@ void btuart_interrupt(int irq, void *dev_inst, struct pt_regs *regs) break; } - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 100) break; diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index 9791be7e8a804..9b9a3720d179c 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c @@ -297,7 +297,7 @@ static void dtl1_receive(dtl1_info_t *info) } - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 32) break; @@ -347,7 +347,7 @@ void dtl1_interrupt(int irq, void *dev_inst, struct pt_regs *regs) break; } - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 100) break; diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index 72b0c7e03e7da..b37a167808005 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c @@ -330,7 +330,7 @@ Amd7930_empty_Dfifo(struct IsdnCardState *cs, int flag) sched_d_event(cs, D_RCVBUFREADY); } } - /* Packet to long, overflow */ + /* Packet too long, overflow */ if(cs->rcvidx >= MAX_DFRAME_LEN_L1) { if (cs->debug & L1_DEB_WARN) debugl1(cs, "AMD7930: empty_Dfifo L2-Framelength overrun"); diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index d75198ad8ad61..e46e3bdd5025a 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c @@ -147,7 +147,7 @@ write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u8 fifo, int trans_max count += fifo_size; /* free bytes */ if (count < skb->len+1) return(0); /* no room */ count = fifo_size - count; /* bytes still not send */ - if (count > 2 * trans_max) return(0); /* delay to long */ + if (count > 2 * trans_max) return(0); /* delay too long */ count = skb->len; src = skb->data; while (count--) diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c index 30e9646bef97e..ed5b6d3a293cf 100644 --- a/drivers/net/irda/ali-ircc.c +++ b/drivers/net/irda/ali-ircc.c @@ -854,7 +854,7 @@ static void ali_ircc_sir_receive(struct ali_ircc_cb *self) async_unwrap_char(self->netdev, &self->stats, &self->rx_buff, inb(iobase+UART_RX)); - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 32) { IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__); break; diff --git a/drivers/net/irda/irport.c b/drivers/net/irda/irport.c index a40a641da9a95..19e85ca3b3c15 100644 --- a/drivers/net/irda/irport.c +++ b/drivers/net/irda/irport.c @@ -707,7 +707,7 @@ static void irport_receive(struct irport_cb *self) async_unwrap_char(self->netdev, &self->stats, &self->rx_buff, inb(iobase+UART_RX)); - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 32) { IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__); break; @@ -764,7 +764,7 @@ void irport_interrupt(int irq, void *dev_id, struct pt_regs *regs) break; } - /* Make sure we don't stay here to long */ + /* Make sure we don't stay here too long */ if (boguscount++ > 100) break; diff --git a/drivers/net/sk98lin/skvpd.c b/drivers/net/sk98lin/skvpd.c index b5d450e784c4c..54167385a66a8 100644 --- a/drivers/net/sk98lin/skvpd.c +++ b/drivers/net/sk98lin/skvpd.c @@ -1064,7 +1064,8 @@ char *buf) /* buffer where the keyword value can be read from */ len = VPD_MAX_LEN ; rtv = 2 ; SK_DBG_MSG(pAC,SK_DBGMOD_VPD,SK_DBGCAT_ERR, - ("keyword to long, cut after %d bytes\n",VPD_MAX_LEN)) ; + ("keyword too long, cut after %d bytes\n", + VPD_MAX_LEN)); } if ((rtv2 = VpdSetupPara(pAC,key,buf,len,VPD_RW_KEY,OWR_KEY)) != 0) { SK_DBG_MSG(pAC,SK_DBGMOD_VPD,SK_DBGCAT_ERR, diff --git a/drivers/net/skfp/hwmtm.c b/drivers/net/skfp/hwmtm.c index ece539646180a..ea5f5e0908645 100644 --- a/drivers/net/skfp/hwmtm.c +++ b/drivers/net/skfp/hwmtm.c @@ -1202,7 +1202,7 @@ struct s_smc *smc ; goto abort_frame ; } if (len > FDDI_RAW_MTU-4) { - DB_RX("Frame to long error",0,0,2) ; + DB_RX("Frame too long error",0,0,2) ; smc->hw.fp.err_stats.err_too_long++ ; goto abort_frame ; } diff --git a/drivers/net/tokenring/tms380tr.c b/drivers/net/tokenring/tms380tr.c index 5705c1e11e35b..5e7d163a2359b 100644 --- a/drivers/net/tokenring/tms380tr.c +++ b/drivers/net/tokenring/tms380tr.c @@ -761,7 +761,7 @@ static void tms380tr_timer_chk(unsigned long data) if(time_before(tp->LastSendTime + SEND_TIMEOUT, jiffies) && (tp->QueueSkb < MAX_TX_QUEUE || tp->TplFree != tp->TplBusy)) { - /* Anything to send, but stalled to long */ + /* Anything to send, but stalled too long */ tp->LastSendTime = jiffies; tms380tr_exec_cmd(dev, OC_CLOSE); /* Does reopen automatically */ } diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c index faf9c3b51b707..fe688c6d5be68 100644 --- a/drivers/usb/image/mdc800.c +++ b/drivers/usb/image/mdc800.c @@ -806,7 +806,7 @@ static ssize_t mdc800_device_write (struct file *file, const char *buf, size_t l } else { - err ("Command is to long !\n"); + err ("Command is too long !\n"); up (&mdc800->io_lock); return -EIO; } diff --git a/include/linux/hysdn_if.h b/include/linux/hysdn_if.h index 166d5ec134d89..00236ae3b04e0 100644 --- a/include/linux/hysdn_if.h +++ b/include/linux/hysdn_if.h @@ -24,7 +24,7 @@ #define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */ #define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */ #define ERR_NOT_BOOTED 1008 /* operation only allowed when booted */ -#define ERR_CONF_LONG 1009 /* conf line is to long */ +#define ERR_CONF_LONG 1009 /* conf line is too long */ #define ERR_INV_CHAN 1010 /* invalid channel number */ #define ERR_ASYNC_TIME 1011 /* timeout sending async data */ diff --git a/net/irda/discovery.c b/net/irda/discovery.c index bee3b4c55b21c..ec95289016be9 100644 --- a/net/irda/discovery.c +++ b/net/irda/discovery.c @@ -140,7 +140,7 @@ void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) /* * Function irlmp_expire_discoveries (log, saddr, force) * - * Go through all discoveries and expire all that has stayed to long + * Go through all discoveries and expire all that has stayed too long * * Note : this assume that IrLAP won't change its saddr, which * currently is a valid assumption... diff --git a/net/irda/iriap.c b/net/irda/iriap.c index d996cb5e04968..e921d2786dc4c 100644 --- a/net/irda/iriap.c +++ b/net/irda/iriap.c @@ -944,7 +944,7 @@ void iriap_call_indication(struct iriap_cb *self, struct sk_buff *skb) /* * Function iriap_watchdog_timer_expired (data) * - * Query has taken to long time, so abort + * Query has taken too long time, so abort * */ void iriap_watchdog_timer_expired(void *data) -- 2.53.0