Fix a couple of problems in the external_ai_queue_in_use() function.

Patch 1 reverts a patch that turns out to be bogus, although it did mask
a null pointer deference problem fixed by patch 2.  Patch 2 fixes an
inverted test that has been wrong since before Comedi was imported into
the kernel, and could result in a dreaded null pointer dereference in
some circumstances.

1) Revert "staging: comedi: cb_pcidas64: change params to
   external_ai_queue_in_use()"
2) staging: comedi: cb_pcidas64: Fix external_ai_queue_in_use()

 drivers/staging/comedi/drivers/cb_pcidas64.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to