aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2016-11-09 09:17:41 +0000
committerLey Foon Tan <[email protected]>2016-12-13 09:13:17 +0000
commit863cf8da0f32a4c822cd9f7a2f47cd5204ce1ca0 (patch)
treed62c459fa0e839a993ee9ef09f6ae66155767641 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentnios2: Extend !__ASSEMBLY__ section in asm/page.h (diff)
downloadkernel-863cf8da0f32a4c822cd9f7a2f47cd5204ce1ca0.tar.gz
kernel-863cf8da0f32a4c822cd9f7a2f47cd5204ce1ca0.zip
nios2: Convert pfn_valid to static inline
When compiling with 'W=1' warnings such as the following occur all over the place: ./include/linux/pfn.h:21:22: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] which is due to ARCH_PFN_OFFSET being 0 by default (if CONFIG_NIOS2_MEM_BASE is not changed in the Kconfig). Fix these warnings by making pfn_valid a static inline function. Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Ley Foon Tan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions