projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c3f5c
)
added new tests
author
David Schleef
<ds@schleef.org>
Sat, 17 Mar 2001 03:34:06 +0000
(
03:34
+0000)
committer
David Schleef
<ds@schleef.org>
Sat, 17 Mar 2001 03:34:06 +0000
(
03:34
+0000)
comedi/drivers/check_driver
patch
|
blob
|
history
diff --git
a/comedi/drivers/check_driver
b/comedi/drivers/check_driver
index b88bfb6458dcb04b142ac1e852f53f9a4d798420..9af55e720a6480e19387cd99099e4031f248a4ad 100755
(executable)
--- a/
comedi/drivers/check_driver
+++ b/
comedi/drivers/check_driver
@@
-175,3
+175,19
@@
if grep 'range_unknown' ${driver} &>/dev/null;then
echo "W: uses range_unknown"
fi
+if grep 'cur_trig' ${driver} &>/dev/null;then
+ echo "E: uses cur_trig"
+fi
+
+if grep -E 'cmd..?data' ${driver} &>/dev/null;then
+ echo "E: uses cmd->data or cmd->data_len"
+fi
+
+if grep -E 'buf_int_ptr++' ${driver} &>/dev/null;then
+ echo "E: uses buf_int_ptr++"
+fi
+
+if grep -E 'buf_int_count++' ${driver} &>/dev/null;then
+ echo "E: uses buf_int_count++"
+fi
+