aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-06-14 22:28:02 +0000
committerLinus Torvalds <[email protected]>2018-06-14 22:55:25 +0000
commitd7dc899abefb4412388a5d3ec690070197d07d20 (patch)
tree2315f94208ffd0e87a1c62d8953c178f583e6b99 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentmm: use octal not symbolic permissions (diff)
downloadkernel-d7dc899abefb4412388a5d3ec690070197d07d20.tar.gz
kernel-d7dc899abefb4412388a5d3ec690070197d07d20.zip
treewide: use PHYS_ADDR_MAX to avoid type casting ULLONG_MAX
With PHYS_ADDR_MAX there is now a type safe variant for all bits set. Make use of it. Patch created using a semantic patch as follows: // <smpl> @@ typedef phys_addr_t; @@ -(phys_addr_t)ULLONG_MAX +PHYS_ADDR_MAX // </smpl> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Stefan Agner <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Acked-by: Catalin Marinas <[email protected]> [arm64] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions