From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/powerpc/include/asm/mmu.h:230 early_mmu_has_feature() warn: bitwise AND condition is false here
Date: Tue, 22 Jun 2021 23:39:30 +0800 [thread overview]
Message-ID: <202106222318.n7bSeF19-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2055 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Christophe Leroy <christophe.leroy@csgroup.eu>
CC: Michael Ellerman <mpe@ellerman.id.au>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a96bfed64c8986d6404e553f18203cae1f5ac7e6
commit: f9158d58a4e1d91f21741e4e8ebe67f770b84e12 powerpc/mm: Add mask of always present MMU features
date: 7 months ago
:::::: branch date: 23 hours ago
:::::: commit date: 7 months ago
config: powerpc64-randconfig-m031-20210622 (attached as .config)
compiler: powerpc64le-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
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/kernel/process.c:446 giveup_all() warn: bitwise AND condition is false here
arch/powerpc/kernel/process.c:588 save_all() warn: bitwise AND condition is false here
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/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33426 bytes --]
next reply other threads:[~2021-06-22 15:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-22 15:39 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-17 14:23 arch/powerpc/include/asm/mmu.h:230 early_mmu_has_feature() warn: bitwise AND condition is false here kernel test robot
2021-11-14 3:50 kernel test robot
2021-11-13 3:17 kernel test robot
2021-04-25 16:40 kernel test robot
2021-02-20 13:23 kernel test robot
2021-01-06 12:46 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202106222318.n7bSeF19-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.