lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 5 Jun 2020 21:03:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Nathan Chancellor <natechancellor@...il.com>
Subject: arch/m68k/include/asm/mcfmmu.h:102:20: sparse: void static inline
 mmu_write( ... )

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   435faf5c218a47fd6258187f62d9bb1009717896
commit: 6863f5643dd717376c2fdc85a47a00f9d738a834 kbuild: allow Clang to find unused static inline functions for W=1 build
date:   9 months ago
config: m68k-randconfig-s031-20200605 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-246-g41f651b4-dirty
        git checkout 6863f5643dd717376c2fdc85a47a00f9d738a834
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=m68k CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>


sparse warnings: (new ones prefixed by >>)

   drivers/misc/habanalabs/debugfs.c:460:16: sparse: sparse: multiple definitions for function 'mmu_write'
   arch/m68k/include/asm/mcfmmu.h:102:20: sparse:  the previous one is here
   drivers/misc/habanalabs/debugfs.c:460:16: sparse: sparse: symbol 'mmu_write' redeclared with different type (incompatible argument 1 (different base types)):
   drivers/misc/habanalabs/debugfs.c:460:16: sparse:    int static [signed] [toplevel] mmu_write( ... )
   arch/m68k/include/asm/mcfmmu.h:102:20: sparse: note: previously declared as:
>> arch/m68k/include/asm/mcfmmu.h:102:20: sparse:    void static inline [gnu_inline] [toplevel] mmu_write( ... )

vim +102 arch/m68k/include/asm/mcfmmu.h

8cee26f82a0c83 Greg Ungerer 2011-10-14  101  
8cee26f82a0c83 Greg Ungerer 2011-10-14 @102  static inline void mmu_write(u32 a, u32 v)
8cee26f82a0c83 Greg Ungerer 2011-10-14  103  {
8cee26f82a0c83 Greg Ungerer 2011-10-14  104  	*((volatile u32 *) a) = v;
8cee26f82a0c83 Greg Ungerer 2011-10-14  105  	__asm__ __volatile__ ("nop");
8cee26f82a0c83 Greg Ungerer 2011-10-14  106  }
8cee26f82a0c83 Greg Ungerer 2011-10-14  107  

:::::: The code at line 102 was first introduced by commit
:::::: 8cee26f82a0c830740db0267f828045cc39b90b9 m68k: definitions for the ColdFire V4e MMU hardware

:::::: TO: Greg Ungerer <gerg@...inux.org>
:::::: CC: Greg Ungerer <gerg@...inux.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (29822 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ