diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-08-14 16:31:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-14 16:46:33 -0700 |
| commit | b7518888afc14e3d1e988837fef4471cd2b3c820 (patch) | |
| tree | a800a9d8462329e4e52aeabbc19b9cd41247e77a /include/linux/stackprotector.h | |
| parent | d99ff52ef1da75053de9e42a620930f74615f8ea (diff) | |
staging: comedi: amplc_dio200: check bus type in detach routine
When detaching the device in dio200_detach() mirror the bus type checks
performed by dio200_attach(). The existing tests are safe but rely on
dev->iobase being 0 when comedi_to_pci_dev(dev) is NULL.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
