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

[PATCH] some typos

parent 87c3dfd1
......@@ -124,7 +124,7 @@ static struct timer_list vacs_timer;
* UART
*/
static struct serial_uart_config uart_config[] = {
{ "unknown", 1, 0 }, /* Must go first -- used as unasigned */
{ "unknown", 1, 0 }, /* Must go first -- used as unassigned */
{ "VAC UART", 1, 0 }
};
#define VAC_UART_TYPE 1 /* Just index in above array */
......
......@@ -1209,7 +1209,7 @@ CallcFreeChan(struct IsdnCardState *csta)
kfree(csta->channel[i].b_st);
csta->channel[i].b_st = NULL;
} else
printk(KERN_WARNING "CallcFreeChan b_st ch%d allready freed\n", i);
printk(KERN_WARNING "CallcFreeChan b_st ch%d already freed\n", i);
if (i || test_bit(FLG_TWO_DCHAN, &csta->HW_Flags)) {
release_d_st(csta->channel + i);
} else
......
......@@ -145,7 +145,7 @@ tei_id_request(struct FsmInst *fi, int event, void *arg)
if (st->l2.tei != -1) {
st->ma.tei_m.printdebug(&st->ma.tei_m,
"assign request for allready asigned tei %d",
"assign request for already assigned tei %d",
st->l2.tei);
return;
}
......
......@@ -95,7 +95,7 @@ writefifo(unsigned int ale, unsigned int adr, u8 off, u8 * data, int size)
register int max_delay = 20000;
register int i;
/* fifo write without cli because it's allready done */
/* fifo write without cli because it's already done */
byteout(ale, off);
for (i = 0; i<size; i++) {
ret = HFC_BUSY & bytein(ale);
......
......@@ -227,7 +227,7 @@ hycapi_register_appl(struct capi_ctr *ctrl, __u16 appl,
return;
}
if(chk == 1) {
printk(KERN_INFO "HYSDN: apl %d allready registered\n", appl);
printk(KERN_INFO "HYSDN: apl %d already registered\n", appl);
return;
}
MaxBDataBlocks = rp->datablkcnt > CAPI_MAXDATAWINDOW ? CAPI_MAXDATAWINDOW : rp->datablkcnt;
......
......@@ -264,11 +264,11 @@ static void zoran_feed_stat_com(struct zoran *zr);
/*
* Allocate the V4L grab buffers
*
* These have to be pysically contiguous.
* These have to be physically contiguous.
* If v4l_bufsize <= MAX_KMALLOC_MEM we use kmalloc
* else we try to allocate them with bigphysarea_alloc_pages
* if the bigphysarea patch is present in the kernel,
* else we try to use high memory (if the user has bootet
* else we try to use high memory (if the user has booted
* Linux with the necessary memory left over).
*/
......@@ -280,7 +280,7 @@ static int v4l_fbuffer_alloc(struct zoran *zr)
for (i = 0; i < v4l_nbufs; i++) {
if (zr->v4l_gbuf[i].fbuffer)
printk(KERN_WARNING
"%s: v4l_fbuffer_alloc: buffer %d allready allocated ???\n",
"%s: v4l_fbuffer_alloc: buffer %d already allocated ???\n",
zr->name, i);
//udelay(20);
......@@ -413,7 +413,7 @@ static int jpg_fbuffer_alloc(struct zoran *zr)
for (i = 0; i < zr->jpg_nbufs; i++) {
if (zr->jpg_gbuf[i].frag_tab)
printk(KERN_WARNING
"%s: jpg_fbuffer_alloc: buffer %d allready allocated ???\n",
"%s: jpg_fbuffer_alloc: buffer %d already allocated ???\n",
zr->name, i);
/* Allocate fragment table for this buffer */
......@@ -445,7 +445,7 @@ static int jpg_fbuffer_alloc(struct zoran *zr)
for (off = 0; off < zr->jpg_bufsize; off += PAGE_SIZE)
SetPageReserved(virt_to_page(mem + off));
} else {
/* jpg_bufsize is allreay page aligned */
/* jpg_bufsize is already page aligned */
for (j = 0; j < zr->jpg_bufsize / PAGE_SIZE; j++)
{
mem = get_zeroed_page(GFP_KERNEL);
......@@ -935,7 +935,7 @@ static void zr36057_overlay(struct zoran *zr, int on)
fmt);
/* Start and length of each line MUST be 4-byte aligned.
This should be allready checked before the call to this routine.
This should be already checked before the call to this routine.
All error messages are internal driver checking only! */
/* video display top and bottom registers */
......@@ -3242,7 +3242,7 @@ static int zoran_open(struct video_device *dev, int flags)
case 0:
if (zr->user > 1) {
DEBUG1(printk(KERN_WARNING
"%s: zoran_open: Buz is allready in use\n",
"%s: zoran_open: Buz is already in use\n",
zr->name));
return -EBUSY;
}
......@@ -4067,7 +4067,7 @@ static int do_zoran_ioctl(struct zoran *zr, unsigned int cmd,
if (zr->jpg_buffers_allocated) {
DEBUG1(printk(KERN_ERR
"%s: BUZIOC_REQBUFS: buffers allready allocated\n",
"%s: BUZIOC_REQBUFS: buffers already allocated\n",
zr->name));
return -EINVAL;
}
......
......@@ -2023,7 +2023,7 @@ uart_configure_port(struct uart_driver *drv, struct uart_state *state,
}
/*
* This reverses the affects of uart_configure_port, hanging up the
* This reverses the effects of uart_configure_port, hanging up the
* port before removal.
*/
static void
......
......@@ -254,7 +254,7 @@
moved to optimize use of dma (useful for OCS/ECS overscan displays)
- ddfstop is ddfstrt+ddfsize-fetchsize
- If C= didn't change anything for AGA, then at following positions the
dma bus is allready used:
dma bus is already used:
ddfstrt < 48 -> memory refresh
< 96 -> disk dma
< 160 -> audio dma
......
......@@ -943,7 +943,7 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)
int
fb_blank(struct fb_info *info, int blank)
{
/* ??? Varible sized stack allocation. */
/* ??? Variable sized stack allocation. */
u16 black[info->cmap.len];
struct fb_cmap cmap;
......@@ -990,7 +990,8 @@ fb_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
return -EFAULT;
return 0;
case FBIOGET_FSCREENINFO:
return copy_to_user((void *) arg, &info->fix, sizeof(fix)) ? -EFAULT : 0;
return copy_to_user((void *) arg, &info->fix,
sizeof(fix)) ? -EFAULT : 0;
case FBIOPUTCMAP:
if (copy_from_user(&cmap, (void *) arg, sizeof(cmap)))
return -EFAULT;
......
......@@ -1235,7 +1235,7 @@ stifb_init_fb(struct sti_struct *sti, int force_bpp)
}
/* get framebuffer pysical and virtual base addr & len (64bit ready) */
/* get framebuffer physical and virtual base addr & len (64bit ready) */
fix->smem_start = fb->sti->regions_phys[1] | 0xffffffff00000000;
fix->smem_len = fb->sti->regions[1].region_desc.length * 4096;
......
......@@ -714,7 +714,7 @@ static int irlmp_state_dtr(struct lsap_cb *self, IRLMP_EVENT event,
break;
case LM_CONNECT_RESPONSE:
IRDA_DEBUG(0, "%s(), LM_CONNECT_RESPONSE, "
"error, LSAP allready connected\n", __FUNCTION__);
"error, LSAP already connected\n", __FUNCTION__);
/* Keep state */
break;
case LM_DISCONNECT_REQUEST:
......
......@@ -21,7 +21,7 @@
*
* If the user re-runs make *config, linux/autoconf.h will be
* regenerated. make notices that and will rebuild every file which
* includes autconf.h, i.e. basically all files. This is extremely
* includes autoconf.h, i.e. basically all files. This is extremely
* annoying if the user just changed CONFIG_HIS_DRIVER from n to m.
*
* So we play the same trick that "mkdep" played before. We replace
......@@ -72,7 +72,7 @@
* cmd_<target> = <cmdline>
*
* and then basically copies the .<target>.d file to stdout, in the
* process filtering out the dependency on linux/autconf.h and adding
* process filtering out the dependency on linux/autoconf.h and adding
* dependencies on include/config/my/option.h for every
* CONFIG_MY_OPTION encountered in any of the prequisites.
*
......
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