aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2015-10-09 12:26:50 +0100
committerGreg Kroah-Hartman <[email protected]>2015-10-13 10:28:40 -0700
commitecf04ed34d65b735bbdfa9ae8ea378ffc0faa9f6 (patch)
tree85160cc9d8cd5f8a89f68a31df9612cbb4ddf9dd /tools/perf/scripts/python/bin
parent432fbde739583140c7ee937910786a9d740804c9 (diff)
staging: comedi: don't allocate buffer space when polling for write
When handling the "poll" file operation and checking for `POLLOUT`, don't allocate space from the buffer for writing, just check that space is available for writing. That check is done after checking that an asynchronous "write" command is running on the subdevice. Allocating the buffer space before checking a "write" command is running can cause problems if the subdevice supports commands in either direction and currently has an active "read" command. Signed-off-by: Ian Abbott <[email protected]> Reviewed-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions