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: Wed, 17 Nov 2021 22:23:41 +0800 [thread overview]
Message-ID: <202111172230.iVVMOuYc-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1877 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: 8ab774587903771821b59471cc723bba6d893942
commit: f9158d58a4e1d91f21741e4e8ebe67f770b84e12 powerpc/mm: Add mask of always present MMU features
date: 11 months ago
:::::: branch date: 2 days ago
:::::: commit date: 11 months ago
config: powerpc-randconfig-m031-20211117 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 11.2.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
Old smatch warnings:
arch/powerpc/kernel/traps.c:1216 emulate_string_inst() warn: bitwise AND condition is false here
vim +230 arch/powerpc/include/asm/mmu.h
f9158d58a4e1d91 Christophe Leroy 2020-10-22 227
a141cca3892bb39 Michael Ellerman 2016-07-27 228 static inline bool early_mmu_has_feature(unsigned long feature)
7c03d653cd25779 Benjamin Herrenschmidt 2008-12-18 229 {
f9158d58a4e1d91 Christophe Leroy 2020-10-22 @230 if (MMU_FTRS_ALWAYS & feature)
f9158d58a4e1d91 Christophe Leroy 2020-10-22 231 return true;
f9158d58a4e1d91 Christophe Leroy 2020-10-22 232
a81dc9d9957354e Michael Ellerman 2016-07-27 233 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature);
7c03d653cd25779 Benjamin Herrenschmidt 2008-12-18 234 }
7c03d653cd25779 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: 30218 bytes --]
next reply other threads:[~2021-11-17 14:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 14:23 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-14 3:50 arch/powerpc/include/asm/mmu.h:230 early_mmu_has_feature() warn: bitwise AND condition is false here kernel test robot
2021-11-13 3:17 kernel test robot
2021-06-22 15:39 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=202111172230.iVVMOuYc-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.