kernel_optimize_test/arch
Mike Rapoport c2bc26f7ca sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
The kbuild test robot reported the following warning:

  arch/sparc/mm/srmmu.c: In function 'srmmu_nocache_init': arch/sparc/mm/srmmu.c:300:9: error: variable 'pud' set but not used [-Werror=unused-but-set-variable]
  300 |  pud_t *pud;

This warning is caused by misprint in the page table traversal in
srmmu_nocache_init() function which accessed a PMD entry using PGD
rather than PUD.

Since sparc32 has only 3 page table levels, the PGD and PUD are
essentially the same and usage of __nocache_fix() removed the type
checking.

Use PUD for the consistency and to silence the compiler warning.

Fixes: 7235db268a ("sparc32: use pgtable-nopud instead of 4level-fixup")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Anatoly Pugachev <matorola@gmail.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20200520132005.GM1059226@linux.ibm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-05-23 10:26:32 -07:00
..
alpha
arc ARC fixes for 5.7 2020-05-19 15:40:51 -07:00
arm
arm64 - Bring the PTRACE_SYSEMU semantics in line with the man page. 2020-05-22 09:34:19 -07:00
c6x
csky
h8300
hexagon
ia64
m68k
microblaze
mips
nds32
nios2
openrisc
parisc
powerpc powerpc fixes for 5.7 #5 2020-05-22 08:51:39 -07:00
riscv RISC-V: gp_in_global needs register keyword 2020-05-21 13:28:26 -07:00
s390
sh sh: include linux/time_types.h for sockios 2020-05-23 10:26:31 -07:00
sparc sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init() 2020-05-23 10:26:32 -07:00
um
unicore32
x86 x86: bitops: fix build regression 2020-05-23 10:26:31 -07:00
xtensa
.gitignore
Kconfig