From: David Schleef Date: Fri, 14 Sep 2001 04:06:15 +0000 (+0000) Subject: Oops. Fix typo in previous check-in. X-Git-Tag: r0_7_61~86 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6358d7476015b1de02f1869af15137664bca140c;p=comedi.git Oops. Fix typo in previous check-in. --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index 8978e3a9..11f8681a 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -359,7 +359,7 @@ unsigned long mite_ll_from_kvmem(struct mite_struct *mite,comedi_async *async,in (unsigned long)prealloc_buf,prealloc_bufsz); while(((void*)nup < (async->data+len))&&(i<(MITE_RING_SIZE-1))) { - int n; + int count; count = 1+TOP_OF_PAGE(nup)-nup; if(count>len-size_so_far) count = len-size_so_far; mite->ring[i].addr =kvirt_to_bus(nup);// it's already a kernel address :-)