diff options
| author | Matthew Auld <[email protected]> | 2020-03-05 20:35:34 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-03-06 10:07:44 +0000 |
| commit | 2920516b2f719546f55079bc39a7fe409d9e80ab (patch) | |
| tree | 5f61a9e1f64f4bfcafa25678894346a439bed223 /drivers/gpu/drm/i915/i915_request.c | |
| parent | 64dc802aa5accfe36d431814ffdf15303b7f7b2b (diff) | |
drm/i915: be more solid in checking the alignment
The alignment is u64, and yet is_power_of_2() assumes unsigned long,
which might give different results between 32b and 64b kernel.
Signed-off-by: Matthew Auld <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions