summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-08-26 09:02:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 10:24:06 +0200
commit3ca121c2f4be85f3fbf398583bc8c42a145e3533 (patch)
tree91fc7e193af4f5b05f1a169e6b2acf4f0efb711f /tools/perf/scripts/python/bin/stackcollapse-record
parent9c8e28df4457e6734237013adb577dbb265df15d (diff)
downloadcachepc-linux-3ca121c2f4be85f3fbf398583bc8c42a145e3533.tar.gz
cachepc-linux-3ca121c2f4be85f3fbf398583bc8c42a145e3533.zip
staging: lustre: obdclass: return -EFAULT if copy_to_user() fails
We recently changed from using obd_ioctl_popdata() to calling copy_to_user() directly. This if statement was supposed to be deleted but it was over looked. "err" is zero at this point so it means we return success. Fixes: b03679f6a41a ("staging: lustre: uapi: remove obd_ioctl_popdata() wrapper") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions