diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-04 11:33:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-07 17:32:40 +0200 |
commit | 7fb2fd4e25fc1fb10dcb30b5519de257cfeae84c (patch) | |
tree | 80dfaaaa1f643321fe6c0af78935a9ac4c2f1646 /drivers/cpufreq/qcom-cpufreq-kryo.c | |
parent | nvmem: core: remove unused nvmem_device ncells member (diff) | |
download | linux-7fb2fd4e25fc1fb10dcb30b5519de257cfeae84c.tar.xz linux-7fb2fd4e25fc1fb10dcb30b5519de257cfeae84c.zip |
vmci: type promotion bug in qp_host_get_user_memory()
The problem is that if get_user_pages_fast() fails and returns a
negative error code, it gets type promoted to a high positive value and
treated as a success.
Fixes: 06164d2b72aa ("VMCI: queue pairs implementation.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq-kryo.c')
0 files changed, 0 insertions, 0 deletions