commit | f853d9ddf4867a4629753be4af7c5b98f7b7edd0 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Aug 17 18:21:12 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 04 11:20:41 2012 -0700 |
tree | 4ebe4692a249729e5f2c32196ff1ccb483f1852a | |
parent | cb448d6572219efa4a6eb0c98f37125079b78549 [diff] |
staging: comedi: adv_pci_dio: fix bug in 'detach' The 'attach' function can fail between when the devpriv and the comedi subdevices are allocated. If it does the 'detach' will try to access unallocated memory when it goes thru the subdevices. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>