More checks of dubious relevance
authorDavid Schleef <ds@schleef.org>
Tue, 3 Apr 2001 09:21:01 +0000 (09:21 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 3 Apr 2001 09:21:01 +0000 (09:21 +0000)
comedi/drivers/check_driver

index ec7a76839c17c95ed898fb385941a1215269c904..815b2e4d62641c0cf9bf1bc638227db2b7ab9294 100755 (executable)
@@ -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
+