mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Andrew Banman <abanman@hpe.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	tipbuild@zytor.com, Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, Mike Travis <mike.travis@hpe.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Varsha Rao <rvarsha016@gmail.com>,
	Nicolai Stange <nstange@suse.de>,
	Andy Lutomirski <luto@kernel.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?
Date: Tue, 21 Aug 2018 02:14:16 +0800	[thread overview]
Message-ID: <201808210250.A3etcIJg%fengguang.wu@intel.com> (raw)

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

             reply	other threads:[~2018-08-20 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 18:14 kbuild test robot [this message]
2018-08-20 18:14 ` [RFC PATCH tip] x86/platform/uv/BAU: uv_bau_crash_shutdown() can be static kbuild test robot
2018-08-20 19:53   ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201808210250.A3etcIJg%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=abanman@hpe.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mike.travis@hpe.com \
    --cc=mingo@redhat.com \
    --cc=nstange@suse.de \
    --cc=peterz@infradead.org \
    --cc=rvarsha016@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=tipbuild@zytor.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®