CC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: "Matthew Wilcox (Oracle)" <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Linux Memory Management List <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   abaf6f60176f1ae9d946d63e4db63164600b7b1a
commit: e8805271b82793e6d1f3de786c2278e4d622bdb6 [11581/11865] mm/gfp: add 
kernel-doc for gfp_t
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: microblaze-randconfig-s031-20210220 (attached as .config)
compiler: microblaze-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-229-g60c1f270-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e8805271b82793e6d1f3de786c2278e4d622bdb6
        git remote add linux-next 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout e8805271b82793e6d1f3de786c2278e4d622bdb6
        # 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=microblaze 

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


"sparse warnings: (new ones prefixed by >>)"
   arch/microblaze/mm/init.c: note: in included file (through 
include/linux/xarray.h, include/linux/radix-tree.h, include/linux/idr.h, ...):
   include/linux/gfp.h:20:32: sparse: sparse: symbol 'gfp_t' redeclared with 
different type (different base types):
   include/linux/gfp.h:20:32: sparse:    restricted gfp_t [usertype] gfp_t
   arch/microblaze/mm/init.c: note: in included file (through 
include/linux/kasan-checks.h, include/asm-generic/rwonce.h, 
arch/microblaze/include/generated/asm/rwonce.h, ...):
   include/linux/types.h:148:32: sparse: note: previously declared as:
   include/linux/types.h:148:32: sparse:    restricted gfp_t [usertype] gfp_t
   arch/microblaze/mm/init.c:281:6: sparse: sparse: symbol 
'zalloc_maybe_bootmem' redeclared with different type (incompatible argument 2 
(different base types)):
>> arch/microblaze/mm/init.c:281:6: sparse:    void *extern [addressable] 
>> [toplevel] zalloc_maybe_bootmem( ... )
   arch/microblaze/mm/init.c: note: in included file (through 
arch/microblaze/include/asm/processor.h, 
arch/microblaze/include/asm/thread_info.h, ...):
   arch/microblaze/include/asm/setup.h:30:13: sparse: note: previously declared 
as:
>> arch/microblaze/include/asm/setup.h:30:13: sparse:    void *extern 
>> [addressable] [toplevel] zalloc_maybe_bootmem( ... )

vim +281 arch/microblaze/mm/init.c

a84642a33923502 Michal Simek     2010-01-14  280  
bd721ea73e1f965 Fabian Frederick 2016-08-02 @281  void * __ref 
zalloc_maybe_bootmem(size_t size, gfp_t mask)

:::::: The code at line 281 was first introduced by commit
:::::: bd721ea73e1f965569b40620538c942001f76294 treewide: replace obsolete 
_refok by __ref

:::::: TO: Fabian Frederick <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to