aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2017-03-08 18:44:32 +0000
committerGreg Kroah-Hartman <[email protected]>2017-03-12 14:57:00 +0100
commit6541964dcd0c4ebffb55f0fc3e79b3794c55a869 (patch)
tree8444ebd7f2da87aa7db516dc0d00c2ba534b4d41 /lib/netdev-notifier-error-inject.c
parent8abde9acdfc82aacbfd96e65fe416c29c4856500 (diff)
staging: comedi: jr3_pci: fix initial range[8] max value
`jr3_pci_alloc_spriv()` initializes `spriv->range[8]` to use a maximum value of 65536, but that will be overwritten with 65535 at a later time by `jr3_pci_poll_subdevice()` once the "set full scales" command is complete. The initial setting looks like a mistake. This range is only associated with a couple of dummy channels (channels 56 and 57) to read back the model number and serial number, so no user code should be attempting to convert those numbers to physical units. Just change the initial value to 65535 to match the final value. 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