diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-20 05:29:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 21:21:02 +0300 |
commit | 02241995b004faa7d9ff628e97f24056190853f8 (patch) | |
tree | 7a5a46cce1d2a7f4a1ae5ae4c9185bff372bb570 /drivers/hwtracing | |
parent | 6dbfdc1a4ee0030563af22bb682ff3bc590422f9 (diff) | |
download | linux-02241995b004faa7d9ff628e97f24056190853f8.tar.xz |
misc: genwqe: should return proper error value.
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>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions