[PATCH 0/2] staging: comedi: cb_pcidas64: Fix external_ai_queue_in_use()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux