summaryrefslogtreecommitdiffstats
path: root/drivers/misc/genwqe/card_base.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-20 10:29:13 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-25 20:21:02 +0200
commit02241995b004faa7d9ff628e97f24056190853f8 (patch)
tree7a5a46cce1d2a7f4a1ae5ae4c9185bff372bb570 /drivers/misc/genwqe/card_base.c
parent6dbfdc1a4ee0030563af22bb682ff3bc590422f9 (diff)
downloadlinux-stable-02241995b004faa7d9ff628e97f24056190853f8.tar.gz
linux-stable-02241995b004faa7d9ff628e97f24056190853f8.tar.bz2
linux-stable-02241995b004faa7d9ff628e97f24056190853f8.zip
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/misc/genwqe/card_base.c')
0 files changed, 0 insertions, 0 deletions