diff options
| author | zhong jiang <zhongjiang@huawei.com> | 2018-09-20 10:29:13 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:13 +0100 |
| commit | 76817839784fd1ea2efc9293c14979a43c834047 (patch) | |
| tree | f1bdf64bb1e3725538ade47dbd2e3138bdc8827f /tools/perf/scripts/python | |
| parent | dcfef35ef1a7371129fa964cddb3cc54359243cc (diff) | |
misc: genwqe: should return proper error value.
[ Upstream commit 02241995b004faa7d9ff628e97f24056190853f8 ]
The function should return -EFAULT when copy_from_user fails. Even
though the caller does not distinguish them. but we should keep backward
compatibility.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
