Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 31f09cb7 authored by Jérémy Lefaure's avatar Jérémy Lefaure Committed by Zhenyu Wang
Browse files

drm/i915/gvt: fix bad 32 bit shift in gtt



Since ioread32 returns a 32-bit value, it is impossible to left-shift
this value by 32 bits (it produces a compilation error). Casting the
return value of ioread32 fix this issue.

Signed-off-by: default avatarJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent 946260e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment