diff options
author | Ian Abbott <[email protected]> | 2017-03-08 18:44:31 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-03-12 14:57:00 +0100 |
commit | 8abde9acdfc82aacbfd96e65fe416c29c4856500 (patch) | |
tree | b13e813aed590748af697ff9cfd2b5786913117c /lib/netdev-notifier-error-inject.c | |
parent | 7cb1c5c2cd5fe2d4303eee415ca2ed207bd932a5 (diff) |
staging: comedi: jr3_pci: check PCI BAR 0 size
The various supported boards have different numbers of subdevices from 1
to 4. Each subdevice needs a block of registers in PCI BAR 0. Check
the region is large enough for the required number of subdevices.
Return an error from `jr3_pci_auto_attach()` if it is too small.
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions