* [ardb:arm64-ro-page-tables-pkvm 35/55] kernel/poke.c:34:46: sparse: sparse: non size-preserving pointer to integer cast
@ 2021-03-03 1:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-03 1:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2291 bytes --]
tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm64-ro-page-tables-pkvm
head: ac9916b95f58353008b7d0dc1ac8552bde419ebd
commit: 665bd1705bd4aae29df323c7aadb97eb89c7c515 [35/55] [DEBUG] poke: Add sysctl to poke abitrary VAs
config: mips-randconfig-s031-20210302 (attached as .config)
compiler: mipsel-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-241-geaceeafa-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=665bd1705bd4aae29df323c7aadb97eb89c7c515
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm64-ro-page-tables-pkvm
git checkout 665bd1705bd4aae29df323c7aadb97eb89c7c515
# 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=mips
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 >>)"
command-line: note: in included file:
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined
builtin:0:0: sparse: this was the original definition
builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined
builtin:0:0: sparse: this was the original definition
>> kernel/poke.c:34:46: sparse: sparse: non size-preserving pointer to integer cast
vim +34 kernel/poke.c
31
32 static ssize_t virt_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
33 {
> 34 return sprintf(buf, "0x%llx\n", (u64)virt);
35 }
36
---
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: 33902 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-03 1:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 1:13 [ardb:arm64-ro-page-tables-pkvm 35/55] kernel/poke.c:34:46: sparse: sparse: non size-preserving pointer to integer cast 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.