projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218b08a
)
Oops. Fix typo in previous check-in.
author
David Schleef
<ds@schleef.org>
Fri, 14 Sep 2001 04:06:15 +0000
(
04:06
+0000)
committer
David Schleef
<ds@schleef.org>
Fri, 14 Sep 2001 04:06:15 +0000
(
04:06
+0000)
comedi/drivers/mite.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/mite.c
b/comedi/drivers/mite.c
index 8978e3a955ad735239f69a60c51adbad4c1f1fe8..11f8681a4c445c32f7ceb78760e6c719ba78a022 100644
(file)
--- 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 :-)