diff options
| author | Bartosz Golaszewski <[email protected]> | 2019-04-11 09:49:43 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2019-05-07 21:18:28 +0000 |
| commit | ea70d791c1687529edf9bb9a69530a66e1ca4584 (patch) | |
| tree | c7520cc8969852632589b7bb775dfb81ac216c9b /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | um: remove uses of variable length arrays (diff) | |
| download | kernel-ea70d791c1687529edf9bb9a69530a66e1ca4584.tar.gz kernel-ea70d791c1687529edf9bb9a69530a66e1ca4584.zip | |
um: define set_pte_at() as a static inline function, not a macro
When defined as macro, the mm argument is unused and subsequently the
variable passed as mm is considered unused by the compiler. This fixes
a build warning.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Anton Ivanov <[email protected]>
Acked-by: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
