aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-10-03 21:36:36 +0000
committerVasily Gorbik <[email protected]>2019-10-04 14:37:33 +0000
commit51ce02216d4ad4e8f6a58de81d6e803cf04c418e (patch)
tree274200f0c4f9c72d4694835e91882a4877e39d76 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parents390: mark __cpacf_query() as __always_inline (diff)
downloadkernel-51ce02216d4ad4e8f6a58de81d6e803cf04c418e.tar.gz
kernel-51ce02216d4ad4e8f6a58de81d6e803cf04c418e.zip
s390/mm: fix -Wunused-but-set-variable warnings
Convert two functions to static inline to get ride of W=1 GCC warnings like, mm/gup.c: In function 'gup_pte_range': mm/gup.c:1816:16: warning: variable 'ptem' set but not used [-Wunused-but-set-variable] pte_t *ptep, *ptem; ^~~~ mm/mmap.c: In function 'acct_stack_growth': mm/mmap.c:2322:16: warning: variable 'new_start' set but not used [-Wunused-but-set-variable] unsigned long new_start; ^~~~~~~~~ Signed-off-by: Qian Cai <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Christian Borntraeger <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions