diff options
author | 2015-10-15 21:25:15 +0300 | |
---|---|---|
committer | 2015-10-15 21:16:47 +0100 | |
commit | 95fb6144bb2222b4c0189e76c1aae006b0a02bff (patch) | |
tree | c0f5ba55cf649ac9af3ace42fe2432c549d13b76 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommu/vt-d: Fix NULL pointer dereference in page request error case (diff) | |
download | linux-dev-95fb6144bb2222b4c0189e76c1aae006b0a02bff.tar.xz linux-dev-95fb6144bb2222b4c0189e76c1aae006b0a02bff.zip |
iommu/vt-d: shift wrapping bug in prq_event_thread()
The "req->addr" variable is a bit field declared as "u64 addr:52;".
The "address" variable is a u64. We need to cast "req->addr" to a u64
before the shift or the result is truncated to 52 bits.
Fixes: a222a7f0bb6c ('iommu/vt-d: Implement page request handling')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions