projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4842f86
)
More checks of dubious relevance
author
David Schleef
<ds@schleef.org>
Tue, 3 Apr 2001 09:21:01 +0000
(09:21 +0000)
committer
David Schleef
<ds@schleef.org>
Tue, 3 Apr 2001 09:21:01 +0000
(09:21 +0000)
comedi/drivers/check_driver
patch
|
blob
|
history
diff --git
a/comedi/drivers/check_driver
b/comedi/drivers/check_driver
index ec7a76839c17c95ed898fb385941a1215269c904..815b2e4d62641c0cf9bf1bc638227db2b7ab9294 100755
(executable)
--- a/
comedi/drivers/check_driver
+++ b/
comedi/drivers/check_driver
@@
-191,3
+191,15
@@
if grep 'buf_int_count++' ${driver} &>/dev/null;then
echo "E: uses buf_int_count++"
fi
+if grep 'di_unpack' ${driver} &>/dev/null;then
+ echo "W: di_unpack() going away soon, (not too soon)"
+fi
+
+if grep 'do_pack' ${driver} &>/dev/null;then
+ echo "W: do_pack() going away soon, (not too soon)"
+fi
+
+if grep 'request_region.*dev.*iobase' ${driver} &>/dev/null;then
+ echo "W: recommend assigning dev->iobase after successful request_region()"
+fi
+