summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-10-28 17:15:47 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-29 16:18:31 +0800
commitc1a6eac1694b1236115ee6e93a4efbf02d05fea3 (patch)
treea5a03085e14c6fb4c1b02353dcbfc81488fb558a /tools/perf/scripts/python/check-perf-trace.py
parent7e74783a9db72e5fec30eb6129a63f274df42288 (diff)
staging: comedi: widen subdevice number argument in ioctl handlers
For the `COMEDI_LOCK`, `COMEDI_UNLOCK`, `COMEDI_CANCEL`, and `COMEDI_POLL` ioctls the third argument is a comedi subdevice number. This is passed as an `unsigned long`, but when it is passed down to the ioctl command-specific handler functions `do_lock_ioctl()`, `do_unlock_ioctl()`, `do_cancel_ioctl()`, and `do_poll_ioctl()`, the value has been narrowed to an `unsigned int`. Pass through the argument as an `unsigned long` to avoid truncating the value on 64-bit architectures. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions