Chris Wilson 579e2f6d99 drm/i915/gvt: Use offsetofend() rather than offsetof + sizeof
Compute the offset of the end of the crc32 field using offsetofend()
rather than open-coding.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2018-05-17 22:05:10 +08:00
..
2018-01-30 18:05:25 +01:00
2018-04-25 09:09:22 +02:00
2018-04-30 09:32:43 +10:00
2018-03-28 14:30:41 +10:00
2018-04-30 09:32:43 +10:00
2018-03-28 14:30:41 +10:00
2018-03-28 14:30:41 +10:00
2018-04-30 09:32:43 +10:00
2018-04-30 09:32:43 +10:00
2017-12-27 19:00:09 -05:00
2018-04-30 09:32:43 +10:00
2018-04-30 09:32:43 +10:00
2018-04-25 09:09:22 +02:00
2018-04-30 09:32:43 +10:00
2018-04-30 09:32:43 +10:00
2018-03-29 19:14:21 +03:00
2018-04-30 09:32:43 +10:00
2018-03-28 14:30:41 +10:00
2017-12-19 21:37:24 +10:00
2018-03-28 14:30:41 +10:00