aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2019-10-08 09:43:00 +0000
committerGreg Kroah-Hartman <[email protected]>2019-10-08 14:44:56 +0200
commit51f589c82f6d4b3c9e417b39141836fb3db86093 (patch)
tree390d5d1644cec46b512a4a08ef46fe9e0fc1aed3 /tools/perf/scripts/python/bin/stackcollapse-report
parent53707c85d2c1ffe844266368cb7c7db137161881 (diff)
staging: wfx: fix copy_{to,from}_user() usage
On error, copy_to_user() returns number of bytes remaining. Driver should return -EFAULT. Fixes: 4f8b7fabb15d ("staging: wfx: allow to send commands to chip") Reported-by: kbuild test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions