diff options
| author | Chris Wilson <[email protected]> | 2017-03-15 17:39:50 +0000 |
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2018-05-17 22:05:10 +0800 |
| commit | 579e2f6d999991d2d2dd39c7185cba0a97137cee (patch) | |
| tree | 90a9675322a7ead8554c1b9e0c426731fb885165 /include/linux/fpga/fpga-region.h | |
| parent | 1c6ccad8a4b110bac3f9ff6db954ab5a74c2e861 (diff) | |
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 <[email protected]>
Cc: Zhenyu Wang <[email protected]>
Cc: Zhi Wang <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions