CC: [email protected]
CC: [email protected]
TO: Christophe Leroy <[email protected]>
CC: Michael Ellerman <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   c8c109546a19613d323a319d0c921cb1f317e629
commit: f9158d58a4e1d91f21741e4e8ebe67f770b84e12 powerpc/mm: Add mask of always 
present MMU features
date:   11 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 11 months ago
config: powerpc64-randconfig-m031-20211020 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

New smatch warnings:
arch/powerpc/include/asm/mmu.h:230 early_mmu_has_feature() warn: bitwise AND 
condition is false here
arch/powerpc/include/asm/mmu.h:230 early_mmu_has_feature() warn: bitwise AND 
condition is false here

Old smatch warnings:
arch/powerpc/platforms/pseries/lpar.c:206 init_cpu_associativity() warn: double 
check that we're allocating correct size: 4 vs 100
arch/powerpc/platforms/pseries/lpar.c:208 init_cpu_associativity() warn: double 
check that we're allocating correct size: 4 vs 100

vim +230 arch/powerpc/include/asm/mmu.h

f9158d58a4e1d9 Christophe Leroy       2020-10-22  227  
a141cca3892bb3 Michael Ellerman       2016-07-27  228  static inline bool 
early_mmu_has_feature(unsigned long feature)
7c03d653cd2577 Benjamin Herrenschmidt 2008-12-18  229  {
f9158d58a4e1d9 Christophe Leroy       2020-10-22 @230   if (MMU_FTRS_ALWAYS & 
feature)
f9158d58a4e1d9 Christophe Leroy       2020-10-22  231           return true;
f9158d58a4e1d9 Christophe Leroy       2020-10-22  232  
a81dc9d9957354 Michael Ellerman       2016-07-27  233   return 
!!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature);
7c03d653cd2577 Benjamin Herrenschmidt 2008-12-18  234  }
7c03d653cd2577 Benjamin Herrenschmidt 2008-12-18  235  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to