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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201808210250.A3etcIJg%fengguang.wu@intel.com>
Date:   Tue, 21 Aug 2018 02:14:16 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Andrew Banman <abanman@....com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        tipbuild@...or.com, Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Mike Travis <mike.travis@....com>,
        Peter Zijlstra <peterz@...radead.org>,
        Varsha Rao <rvarsha016@...il.com>,
        Nicolai Stange <nstange@...e.de>,
        Andy Lutomirski <luto@...nel.org>
Subject: [tip:x86/urgent 6/6] arch/x86/platform/uv/tlb_uv.c:2209:6: sparse:
 symbol 'uv_bau_crash_shutdown' was not declared. Should it be static?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent
head:   99f3965878759d36baac944df004b4dafcc272b4
commit: 99f3965878759d36baac944df004b4dafcc272b4 [6/6] x86/platform/uv/BAU: Gracefully disable BAU during panic
reproduce:
        # apt-get install sparse
        git checkout 99f3965878759d36baac944df004b4dafcc272b4
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/nodemask.h:265:16: sparse: expression using sizeof(void)
   include/linux/nodemask.h:271:16: sparse: expression using sizeof(void)
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:692:41: sparse: incorrect type in argument 2 (different address spaces) @@    expected void volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:692:41:    expected void volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:692:41:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   include/linux/slab.h:631:13: sparse: undefined identifier '__builtin_mul_overflow'
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
>> arch/x86/platform/uv/tlb_uv.c:2209:6: sparse: symbol 'uv_bau_crash_shutdown' was not declared. Should it be static?
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:692:41: sparse: incorrect type in argument 2 (different address spaces) @@    expected void volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:692:41:    expected void volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:692:41:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:687:42: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:687:42:    expected void const volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:687:42:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:692:41: sparse: incorrect type in argument 2 (different address spaces) @@    expected void volatile [noderef] <asn:2>*addr @@    got deref] <asn:2>*addr @@
   arch/x86/include/asm/uv/uv_hub.h:692:41:    expected void volatile [noderef] <asn:2>*addr
   arch/x86/include/asm/uv/uv_hub.h:692:41:    got unsigned long *
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   arch/x86/include/asm/uv/uv_hub.h:652:16: sparse: incorrect type in return expression (different address spaces) @@    expected void volatile [noderef] <asn:2>* @@    got sn:2>* @@
   arch/x86/include/asm/uv/uv_hub.h:652:16:    expected void volatile [noderef] <asn:2>*
   arch/x86/include/asm/uv/uv_hub.h:652:16:    got void *<noident>
   include/linux/slab.h:631:13: sparse: call with no type!

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ