Dan Carpenter
95fb6144bb
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>
2015-10-15 21:16:47 +01:00
..
2015-08-13 19:49:10 +02:00
2015-06-23 18:27:19 -07:00
2015-06-23 18:27:19 -07:00
2015-08-13 19:49:14 +02:00
2015-08-13 19:49:14 +02:00
2015-08-06 14:35:40 +01:00
2015-08-06 14:35:40 +01:00
2015-10-15 13:22:41 +01:00
2015-05-29 10:50:08 +02:00
2015-03-31 15:32:14 +02:00
2015-03-31 15:32:14 +02:00
2015-08-18 11:30:46 +02:00
2015-02-03 18:47:18 +01:00
2015-08-13 19:49:56 +02:00
2015-10-15 15:35:19 +01:00
2015-10-15 21:16:47 +01:00
2015-08-18 11:27:36 +02:00
2015-08-13 19:51:04 +02:00
2015-08-13 19:51:04 +02:00
2014-07-07 12:01:21 +02:00
2013-09-25 11:07:04 +02:00
2015-08-17 08:13:26 -06:00
2015-07-28 15:48:01 +01:00
2015-08-06 14:35:39 +01:00
2015-08-13 19:49:41 +02:00
2015-06-12 11:33:52 +02:00
2015-10-15 12:55:45 +01:00
2015-10-15 11:24:51 +01:00
2014-11-04 15:03:39 +01:00
2013-08-06 11:18:03 -07:00
2015-08-13 19:50:51 +02:00
2013-08-06 11:18:03 -07:00
2015-08-03 16:07:49 +02:00
2015-09-11 15:21:34 -07:00
2015-08-03 16:04:43 +02:00
2015-08-03 16:04:42 +02:00
2015-08-03 16:04:42 +02:00
2015-06-19 17:17:47 +02:00
2015-03-31 15:32:13 +02:00
2014-10-20 16:20:42 +02:00
2014-01-07 15:35:25 +01:00
2015-04-02 13:33:19 +02:00
2015-08-13 17:05:28 +02:00