On Wed, Feb 15, 2017 at 1:09 PM, Alex Xie <AlexBin.Xie at amd.com> wrote: > Change-Id: Iaeeb253cc5c028c93c536ee6ea08213c7fa8f299 > Signed-off-by: Alex Xie <AlexBin.Xie at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > index 51fa12f..cc389af 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > @@ -63,7 +63,7 @@ struct amdgpu_bo_list_entry; > #define AMDGPU_PTE_READABLE (1ULL << 5) > #define AMDGPU_PTE_WRITEABLE (1ULL << 6) > > -#define AMDGPU_PTE_FRAG(x) ((x & 0x1f) << 7) > +#define AMDGPU_PTE_FRAG(x) ((x & 0x1fULL) << 7) > > #define AMDGPU_PTE_PRT (1ULL << 63) > > -- > 2.7.4 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx