From 6358d7476015b1de02f1869af15137664bca140c Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 14 Sep 2001 04:06:15 +0000 Subject: [PATCH] Oops. Fix typo in previous check-in. --- comedi/drivers/mite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 :-) -- 2.26.2