Commit e4a874f0 authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] s/to long/too long/

parent e02fafe8
...@@ -131,7 +131,7 @@ Table of contents ...@@ -131,7 +131,7 @@ Table of contents
1006 Second boot stage failure 1006 Second boot stage failure
1007 Timeout waiting for card ready during boot 1007 Timeout waiting for card ready during boot
1008 Operation only allowed in booted state 1008 Operation only allowed in booted state
1009 Config line to long 1009 Config line too long
1010 Invalid channel number 1010 Invalid channel number
1011 Timeout sending config data 1011 Timeout sending config data
......
...@@ -294,7 +294,7 @@ static void btuart_receive(btuart_info_t *info) ...@@ -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) if (boguscount++ > 16)
break; break;
...@@ -343,7 +343,7 @@ void btuart_interrupt(int irq, void *dev_inst, struct pt_regs *regs) ...@@ -343,7 +343,7 @@ void btuart_interrupt(int irq, void *dev_inst, struct pt_regs *regs)
break; break;
} }
/* Make sure we don't stay here to long */ /* Make sure we don't stay here too long */
if (boguscount++ > 100) if (boguscount++ > 100)
break; break;
......
...@@ -297,7 +297,7 @@ static void dtl1_receive(dtl1_info_t *info) ...@@ -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) if (boguscount++ > 32)
break; break;
...@@ -347,7 +347,7 @@ void dtl1_interrupt(int irq, void *dev_inst, struct pt_regs *regs) ...@@ -347,7 +347,7 @@ void dtl1_interrupt(int irq, void *dev_inst, struct pt_regs *regs)
break; break;
} }
/* Make sure we don't stay here to long */ /* Make sure we don't stay here too long */
if (boguscount++ > 100) if (boguscount++ > 100)
break; break;
......
...@@ -330,7 +330,7 @@ Amd7930_empty_Dfifo(struct IsdnCardState *cs, int flag) ...@@ -330,7 +330,7 @@ Amd7930_empty_Dfifo(struct IsdnCardState *cs, int flag)
sched_d_event(cs, D_RCVBUFREADY); sched_d_event(cs, D_RCVBUFREADY);
} }
} }
/* Packet to long, overflow */ /* Packet too long, overflow */
if(cs->rcvidx >= MAX_DFRAME_LEN_L1) { if(cs->rcvidx >= MAX_DFRAME_LEN_L1) {
if (cs->debug & L1_DEB_WARN) if (cs->debug & L1_DEB_WARN)
debugl1(cs, "AMD7930: empty_Dfifo L2-Framelength overrun"); debugl1(cs, "AMD7930: empty_Dfifo L2-Framelength overrun");
......
...@@ -147,7 +147,7 @@ write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u8 fifo, int trans_max ...@@ -147,7 +147,7 @@ write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u8 fifo, int trans_max
count += fifo_size; /* free bytes */ count += fifo_size; /* free bytes */
if (count < skb->len+1) return(0); /* no room */ if (count < skb->len+1) return(0); /* no room */
count = fifo_size - count; /* bytes still not send */ 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; count = skb->len;
src = skb->data; src = skb->data;
while (count--) while (count--)
......
...@@ -854,7 +854,7 @@ static void ali_ircc_sir_receive(struct ali_ircc_cb *self) ...@@ -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, async_unwrap_char(self->netdev, &self->stats, &self->rx_buff,
inb(iobase+UART_RX)); 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) { if (boguscount++ > 32) {
IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__); IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__);
break; break;
......
...@@ -707,7 +707,7 @@ static void irport_receive(struct irport_cb *self) ...@@ -707,7 +707,7 @@ static void irport_receive(struct irport_cb *self)
async_unwrap_char(self->netdev, &self->stats, &self->rx_buff, async_unwrap_char(self->netdev, &self->stats, &self->rx_buff,
inb(iobase+UART_RX)); 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) { if (boguscount++ > 32) {
IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__); IRDA_DEBUG(2,"%s(), breaking!\n", __FUNCTION__);
break; break;
...@@ -764,7 +764,7 @@ void irport_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -764,7 +764,7 @@ void irport_interrupt(int irq, void *dev_id, struct pt_regs *regs)
break; break;
} }
/* Make sure we don't stay here to long */ /* Make sure we don't stay here too long */
if (boguscount++ > 100) if (boguscount++ > 100)
break; break;
......
...@@ -1064,7 +1064,8 @@ char *buf) /* buffer where the keyword value can be read from */ ...@@ -1064,7 +1064,8 @@ char *buf) /* buffer where the keyword value can be read from */
len = VPD_MAX_LEN ; len = VPD_MAX_LEN ;
rtv = 2 ; rtv = 2 ;
SK_DBG_MSG(pAC,SK_DBGMOD_VPD,SK_DBGCAT_ERR, 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) { if ((rtv2 = VpdSetupPara(pAC,key,buf,len,VPD_RW_KEY,OWR_KEY)) != 0) {
SK_DBG_MSG(pAC,SK_DBGMOD_VPD,SK_DBGCAT_ERR, SK_DBG_MSG(pAC,SK_DBGMOD_VPD,SK_DBGCAT_ERR,
......
...@@ -1202,7 +1202,7 @@ struct s_smc *smc ; ...@@ -1202,7 +1202,7 @@ struct s_smc *smc ;
goto abort_frame ; goto abort_frame ;
} }
if (len > FDDI_RAW_MTU-4) { 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++ ; smc->hw.fp.err_stats.err_too_long++ ;
goto abort_frame ; goto abort_frame ;
} }
......
...@@ -761,7 +761,7 @@ static void tms380tr_timer_chk(unsigned long data) ...@@ -761,7 +761,7 @@ static void tms380tr_timer_chk(unsigned long data)
if(time_before(tp->LastSendTime + SEND_TIMEOUT, jiffies) if(time_before(tp->LastSendTime + SEND_TIMEOUT, jiffies)
&& (tp->QueueSkb < MAX_TX_QUEUE || tp->TplFree != tp->TplBusy)) && (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; tp->LastSendTime = jiffies;
tms380tr_exec_cmd(dev, OC_CLOSE); /* Does reopen automatically */ tms380tr_exec_cmd(dev, OC_CLOSE); /* Does reopen automatically */
} }
......
...@@ -806,7 +806,7 @@ static ssize_t mdc800_device_write (struct file *file, const char *buf, size_t l ...@@ -806,7 +806,7 @@ static ssize_t mdc800_device_write (struct file *file, const char *buf, size_t l
} }
else else
{ {
err ("Command is to long !\n"); err ("Command is too long !\n");
up (&mdc800->io_lock); up (&mdc800->io_lock);
return -EIO; return -EIO;
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */ #define ERR_BOOTSEQ_FAIL 1006 /* 2. stage boot seq handshake timeout */
#define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */ #define ERR_POF_TIMEOUT 1007 /* timeout waiting for card pof ready */
#define ERR_NOT_BOOTED 1008 /* operation only allowed when booted */ #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_INV_CHAN 1010 /* invalid channel number */
#define ERR_ASYNC_TIME 1011 /* timeout sending async data */ #define ERR_ASYNC_TIME 1011 /* timeout sending async data */
......
...@@ -140,7 +140,7 @@ void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) ...@@ -140,7 +140,7 @@ void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log)
/* /*
* Function irlmp_expire_discoveries (log, saddr, force) * 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 * Note : this assume that IrLAP won't change its saddr, which
* currently is a valid assumption... * currently is a valid assumption...
......
...@@ -944,7 +944,7 @@ void iriap_call_indication(struct iriap_cb *self, struct sk_buff *skb) ...@@ -944,7 +944,7 @@ void iriap_call_indication(struct iriap_cb *self, struct sk_buff *skb)
/* /*
* Function iriap_watchdog_timer_expired (data) * 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) void iriap_watchdog_timer_expired(void *data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment