diff options
| author | 2014-05-07 21:45:52 +0200 | |
|---|---|---|
| committer | 2014-05-23 21:28:16 +0900 | |
| commit | 27a2234edd4a5c8b0ebdaaa3f6a5f00183f3154f (patch) | |
| tree | 9687c455f6818aec2f248b03e3a2cc7d34e280d7 /scripts/patch-kernel | |
| parent | staging: comedi: addi_apci_1564: remove boardinfo (diff) | |
staging: comedi: ii_pci20kc: fix usage of uninit scalar in ii20k_attach()
This driver supports the PCI-20001C-1a and PCI-20001C-2a carrier boards.
The -2a version has 32 on-board DIO channels. In case this variant is
detected, local variable 'has_dio' is set accordingly. Otherwise it is
left uninitialized and the following subdevice instantiation depends on
the stack. Detected by Coverity - CID 1077830.
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
