diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2016-02-17 14:20:46 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-17 17:00:38 +0100 |
commit | 69603dbb315fc7a2b855990ee308b97dc23bf6eb (patch) | |
tree | 4cf8a1d1130924f4f901a39ecbdb0b36f31f9a2a /drivers/gpu/drm/i915/i915_params.c | |
parent | ecb2448218acf23c401434c26be256147833b221 (diff) | |
download | linux-69603dbb315fc7a2b855990ee308b97dc23bf6eb.tar.gz |
i915: cast before shifting in i915_pte_count
Otherwise a pde_shift big enough to overflow a u32 will be truncated before assignment Note: We never asked for ranges spanning a 4G boundary, so this issue doesn't cause a real problem. Signed-off-by: Alan Cox <alan@linux.intel.com> [danvet: Add note why this isn't a real problem.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20160217142043.4947.60447.stgit@localhost.localdomain
Diffstat (limited to 'drivers/gpu/drm/i915/i915_params.c')
0 files changed, 0 insertions, 0 deletions