commit | 19d875ecbd055b616880d00a5292334ed78a6385 | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Thu Sep 20 10:29:13 2018 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 09:52:54 2019 +0100 |
tree | 3d8ff64818b66283105f6367bf06a216b42458f8 | |
parent | 4f15bdce673e56b0fa863d604fb9c5a03581a96c [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>