public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:dhowells/linux-fs/afs-testing 44/45] arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (5e5ee5e5 becomes e5)
@ 2022-03-26 23:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-26 23:58 UTC (permalink / raw)
  To: David Howells; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel

tree:   https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/afs-testing
head:   bd9f21ac2aa3a4b3332c504a89afe0019a56391a
commit: 17b80dadaf0195ee91f7f115d78b0ea93ae3355c [44/45] Check for dead timer
config: arm64-randconfig-s032-20220327 (https://download.01.org/0day-ci/archive/20220327/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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.4-dirty
        # https://github.com/ammarfaizi2/linux-block/commit/17b80dadaf0195ee91f7f115d78b0ea93ae3355c
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/afs-testing
        git checkout 17b80dadaf0195ee91f7f115d78b0ea93ae3355c
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/ kernel/time/

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


sparse warnings: (new ones prefixed by >>)
   kernel/time/timer.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (5e5ee5e5 becomes e5)
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (5e5ee5e5 becomes e5e5)

vim +88 arch/arm64/include/asm/cmpxchg.h

10b663aef1c247 Catalin Marinas 2012-03-05  84  
305d454aaa292b Will Deacon     2015-10-08  85  __XCHG_GEN()
305d454aaa292b Will Deacon     2015-10-08  86  __XCHG_GEN(_acq)
305d454aaa292b Will Deacon     2015-10-08  87  __XCHG_GEN(_rel)
305d454aaa292b Will Deacon     2015-10-08 @88  __XCHG_GEN(_mb)
305d454aaa292b Will Deacon     2015-10-08  89  

:::::: The code at line 88 was first introduced by commit
:::::: 305d454aaa292be3a09a9d674e6c35f5b4249a13 arm64: atomics: implement native {relaxed, acquire, release} atomics

:::::: TO: Will Deacon <[email protected]>
:::::: CC: Catalin Marinas <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-26 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 23:58 [ammarfaizi2-block:dhowells/linux-fs/afs-testing 44/45] arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (5e5ee5e5 becomes e5) kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox