aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2016-03-30 10:47:25 -0700
committerGreg Kroah-Hartman <[email protected]>2016-03-30 21:04:53 -0700
commit7be7cd10ade121cd5363c5f8790638b177b5e9dd (patch)
treec175c3b715586783c9f22bdbaec43abe03a00380 /scripts/objdiff
parentf91852ce61339ca0ca557c7ce5838f3a774a1bf5 (diff)
staging: comedi: drivers: fix possible bug in comedi_handle_events()
This function assumes that the async subdevice has a cancel() function. It looks like all the current comedi drivers implement a cancel() for the async subdevices except for the dt2814 analog input usbdevice. Fix comedi_handle_events() so it does not try to call a non-existent cancel() function. Add a dev_warn() to __comedi_device_postconfig_async() so that any new driver authors will be reminded to implement the cancel(). Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions