diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-08-16 11:14:19 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 11:33:16 -0700 |
| commit | 6c292278288f9b29f994fe54cbe11cc30d021218 (patch) | |
| tree | de603eeab871a6c46304429211bbf75c3398c440 /include/linux/stackprotector.h | |
| parent | d26769446f5389fa5dd5b8745ddc12d4371fc267 (diff) | |
staging: comedi: amplc_pc263: check bus type in detach routine
When detaching the device in pc263_detach() mirror the bus type checks
performed by pc263_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
