summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-07-04 12:33:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-10 08:52:03 +0200
commit344edd7fc4083217bf26534e3e3568ea00aa47ca (patch)
tree0d072bd0e08ea19866488f9b667c5c34f5d6b286 /tools/perf/scripts/python
parent2c4d20c8c2d6556b793b870b618e76b7d0cc6b74 (diff)
vmci: type promotion bug in qp_host_get_user_memory()
[ Upstream commit 7fb2fd4e25fc1fb10dcb30b5519de257cfeae84c ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions