summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-01-21 14:37:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 14:26:20 -0800
commit57b71c3e6f4c8b944e6721d89ccb566aee439f97 (patch)
tree11e46e705fec8630e2f708bbdc79b0843ee730c1 /tools/perf/scripts/python
parent40f58a65c9f6cbb540ec2db6ac9d963d402014c3 (diff)
staging: comedi: drivers (core): don't BUG_ON due to faulty drivers
The postconfig for drivers that support async commands currently can BUG_ON if the subdevice was improperly configured by the driver. Change the BUG_ON so that a dev_warn() is output and the postconfig returns -EINVAL. This will prevent the comedi core from attaching to the faulty driver but does not BUG the kernel. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions