aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-04-11 09:49:43 +0000
committerRichard Weinberger <[email protected]>2019-05-07 21:18:28 +0000
commitea70d791c1687529edf9bb9a69530a66e1ca4584 (patch)
treec7520cc8969852632589b7bb775dfb81ac216c9b /lib/memory-notifier-error-inject.c
parentum: remove uses of variable length arrays (diff)
downloadkernel-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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions