diff options
author | Alexander Lobakin <alobakin@pm.me> | 2021-01-14 21:30:31 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-15 17:29:15 +0300 |
commit | cabcff9be93b12135a8b123d2990dffb4f019618 (patch) | |
tree | b0c052d98e6b8eb67435dfcc9b4a1120ad7a5b27 /arch/mips/loongson64 | |
parent | 97c97c6ab173f9b784ef54d134cdb272a21d23bf (diff) | |
download | linux-cabcff9be93b12135a8b123d2990dffb4f019618.tar.xz |
MIPS: pgtable: fix -Wshadow in asm/pgtable.h
Solves the following repetitive warning when building with -Wshadow:
In file included from ./include/linux/pgtable.h:6,
from ./include/linux/mm.h:33,
from ./include/linux/dax.h:6,
from ./include/linux/mempolicy.h:11,
from kernel/fork.c:34:
./arch/mips/include/asm/mmu_context.h: In function ‘switch_mm’:
./arch/mips/include/asm/pgtable.h:97:16: warning: declaration of ‘flags’ shadows a previous local [-Wshadow]
97 | unsigned long flags; \
| ^~~~~
./arch/mips/include/asm/mmu_context.h:162:2: note: in expansion of macro ‘htw_stop’
162 | htw_stop();
| ^~~~~~~~
In file included from kernel/fork.c:102:
./arch/mips/include/asm/mmu_context.h:159:16: note: shadowed declaration is here
159 | unsigned long flags;
| ^~~~~
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/loongson64')
0 files changed, 0 insertions, 0 deletions