diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2026-01-30 19:48:02 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-02 16:49:39 +0300 |
| commit | 55e39df167cbeaedc5744ba595514b7745454948 (patch) | |
| tree | a03256c20f212d56ce951cb58486c98a67df96cb /include/linux | |
| parent | c24543463720ae8eb3aa1b35ff957fc96870cb94 (diff) | |
| download | linux-55e39df167cbeaedc5744ba595514b7745454948.tar.xz | |
comedi: pcl816: Add sanity checks for I/O base address
The "pcl816" driver uses an admin-supplied configuration option
(`it->options[0]`) to configure the I/O port base address of a PCL-816
or PCL-814B ISA board. It currently allows any base address to be
configured but the hardware devices only support base addresses
(configured by on-board DIP switches) from 0 to 0x3F0 on 16-byte
boundaries.
Add a sanity check to ensure the device is not configured at an
unsupported base address.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://patch.msgid.link/20260130170416.49994-38-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
