diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-09-18 12:50:41 +0300 |
|---|---|---|
| committer | Jens Wiklander <jens.wiklander@linaro.org> | 2025-09-19 08:46:57 +0200 |
| commit | a9ee2c461e5c361545f0c45e9f149159ba369c64 (patch) | |
| tree | f420af84af5e7908dcf595bcb80d1fb92c920288 /tools/docs/lib/parse_data_structs.py | |
| parent | b14bb2e7821bdd133afeb5e623fd6c5a2273ecf6 (diff) | |
tee: qcom: return -EFAULT instead of -EINVAL if copy_from_user() fails
If copy_from_user() fails, the correct error code is -EFAULT, not
-EINVAL.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
