aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-07-31 16:05:45 -0400
committerWill Deacon <[email protected]>2019-08-01 15:00:27 +0100
commit7d4e2dcf311d3b98421d1f119efe5964cafa32fc (patch)
tree46704a50130b71f338921b99515616a4f09f70c8 /lib/mpi/mpi-internal.h
parent760d8ed069c4e32a92e2ba251a3b0d9a87a3e771 (diff)
arm64/mm: fix variable 'pud' set but not used
GCC throws a warning, arch/arm64/mm/mmu.c: In function 'pud_free_pmd_page': arch/arm64/mm/mmu.c:1033:8: warning: variable 'pud' set but not used [-Wunused-but-set-variable] pud_t pud; ^~~ because pud_table() is a macro and compiled away. Fix it by making it a static inline function and for pud_sect() as well. Signed-off-by: Qian Cai <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions