* arch/powerpc/include/asm/book3s/32/pgtable.h:606:9: sparse: this was the original definition
@ 2020-12-15 18:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-15 18:25 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2950 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 148842c98a24e508aecb929718818fbf4c2a6ff3
commit: a07a63b0e24dd1316d11427601a9f83dc955bb40 video: fbdev: controlfb: add COMPILE_TEST support
date: 8 months ago
:::::: branch date: 15 hours ago
:::::: commit date: 8 months ago
config: powerpc64-randconfig-s032-20201215 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-184-g1b896707-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a07a63b0e24dd1316d11427601a9f83dc955bb40
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a07a63b0e24dd1316d11427601a9f83dc955bb40
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/video/fbdev/controlfb.c:69:9: sparse: sparse: preprocessor token pgprot_cached_wthru redefined
drivers/video/fbdev/controlfb.c: note: in included file (through arch/powerpc/include/asm/book3s/pgtable.h, arch/powerpc/include/asm/pgtable.h, include/linux/mm.h):
>> arch/powerpc/include/asm/book3s/32/pgtable.h:606:9: sparse: this was the original definition
vim +606 arch/powerpc/include/asm/book3s/32/pgtable.h
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 605
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 @606 #define pgprot_cached_wthru pgprot_cached_wthru
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 607 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot)
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 608 {
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 609 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 610 _PAGE_COHERENT | _PAGE_WRITETHRU);
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 611 }
1ca7212932862e3 Aneesh Kumar K.V 2015-12-01 612
:::::: The code at line 606 was first introduced by commit
:::::: 1ca7212932862e348f2f9307f35bd309a7da82d8 powerpc/mm: Move PTE bits from generic functions to hash64 functions.
:::::: TO: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
---
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: 32478 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-15 18:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 18:25 arch/powerpc/include/asm/book3s/32/pgtable.h:606:9: sparse: this was the original definition kernel test robot
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.