diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-07-04 12:33:34 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 08:52:03 +0200 |
| commit | 344edd7fc4083217bf26534e3e3568ea00aa47ca (patch) | |
| tree | 0d072bd0e08ea19866488f9b667c5c34f5d6b286 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 2c4d20c8c2d6556b793b870b618e76b7d0cc6b74 (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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
