projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2417d
)
new tests
author
David Schleef
<ds@schleef.org>
Thu, 24 May 2001 00:47:30 +0000
(
00:47
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 24 May 2001 00:47:30 +0000
(
00:47
+0000)
comedi/drivers/check_driver
patch
|
blob
|
history
diff --git
a/comedi/drivers/check_driver
b/comedi/drivers/check_driver
index 04642156213b26e3fe7f1780732bdcde6e13044b..652bac086c51f20a9310771aea48396267416b45 100755
(executable)
--- a/
comedi/drivers/check_driver
+++ b/
comedi/drivers/check_driver
@@
-207,3
+207,9
@@
if grep 'if.*cmd.*&&.*err..;' ${driver} &>/dev/null;then
echo "E: Probable logic error in cmdtest"
fi
+if grep 'subdev_8255_init' ${driver} &>/dev/null;then
+ if ! grep 'subdev_8255_cleanup' ${driver} &>/dev/null;then
+ echo "E: doesn't call subdev_8255_cleanup()"
+ fi
+fi
+