From: kbuild test robot <lkp@intel.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH 2/5] IA64-IRQ: Delete unnecessary braces
Date: Fri, 26 Aug 2016 20:27:48 +0000 [thread overview]
Message-ID: <201608270449.IfZBeIAu%fengguang.wu@intel.com> (raw)
In-Reply-To: <cdcb21f4-c5d8-0d53-6cc4-e819f2e57258@users.sourceforge.net>
[-- Attachment #1: Type: text/plain, Size: 6173 bytes --]
Hi Markus,
[auto build test ERROR on ia64/next]
[also build test ERROR on v4.8-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/IA64-Fine-tuning-for-some-function-implementations/20160827-021651
base: https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git next
config: ia64-allnoconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
All error/warnings (new ones prefixed by >>):
>> arch/ia64/sn/kernel/irq.c:316:2: error: expected identifier or '(' before 'if'
if (pdacpu(cpu)->sn_first_irq == irq) {
^
In file included from include/asm-generic/percpu.h:6:0,
from arch/ia64/include/asm/percpu.h:45,
from arch/ia64/include/asm/processor.h:77,
from arch/ia64/include/asm/thread_info.h:11,
from include/linux/thread_info.h:54,
from include/asm-generic/preempt.h:4,
from arch/ia64/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/irq.h:15,
from arch/ia64/sn/kernel/irq.c:11:
>> include/linux/percpu-defs.h:250:72: error: expected identifier or '(' before ')' token
#define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); VERIFY_PERCPU_PTR(ptr); })
^
include/linux/percpu-defs.h:256:29: note: in expansion of macro 'per_cpu_ptr'
#define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu))
^
>> arch/ia64/include/asm/sn/pda.h:66:23: note: in expansion of macro 'per_cpu'
#define pdacpu(cpu) (&per_cpu(pda_percpu, cpu))
^
>> arch/ia64/sn/kernel/irq.c:316:6: note: in expansion of macro 'pdacpu'
if (pdacpu(cpu)->sn_first_irq == irq) {
^
>> arch/ia64/sn/kernel/irq.c:331:2: warning: data definition has no type or storage class
rcu_read_unlock();
^
>> arch/ia64/sn/kernel/irq.c:331:2: error: type defaults to 'int' in declaration of 'rcu_read_unlock' [-Werror=implicit-int]
>> arch/ia64/sn/kernel/irq.c:331:2: error: function declaration isn't a prototype [-Werror=strict-prototypes]
>> arch/ia64/sn/kernel/irq.c:331:2: error: conflicting types for 'rcu_read_unlock'
In file included from include/linux/srcu.h:33:0,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:737,
from include/linux/gfp.h:5,
from include/linux/irq.h:17,
from arch/ia64/sn/kernel/irq.c:11:
include/linux/rcupdate.h:905:20: note: previous definition of 'rcu_read_unlock' was here
static inline void rcu_read_unlock(void)
^
>> arch/ia64/sn/kernel/irq.c:332:1: error: expected identifier or '(' before '}' token
}
^
arch/ia64/sn/kernel/irq.c: In function 'sn_irq_lh_init':
arch/ia64/sn/kernel/irq.c:475:18: error: incompatible type for argument 1 of 'kmalloc'
sn_irq_lh[i] = kmalloc(*sn_irq_lh[i], GFP_KERNEL);
^
In file included from arch/ia64/sn/kernel/irq.c:15:0:
include/linux/slab.h:466:30: note: expected 'size_t' but argument is of type 'struct list_head'
static __always_inline void *kmalloc(size_t size, gfp_t flags)
^
cc1: some warnings being treated as errors
vim +316 arch/ia64/sn/kernel/irq.c
^1da177e4 Linus Torvalds 2005-04-16 310 break;
^1da177e4 Linus Torvalds 2005-04-16 311 }
^1da177e4 Linus Torvalds 2005-04-16 312 }
^1da177e4 Linus Torvalds 2005-04-16 313 pdacpu(cpu)->sn_last_irq = i;
^1da177e4 Linus Torvalds 2005-04-16 314 }
^1da177e4 Linus Torvalds 2005-04-16 315
^1da177e4 Linus Torvalds 2005-04-16 @316 if (pdacpu(cpu)->sn_first_irq == irq) {
^1da177e4 Linus Torvalds 2005-04-16 317 foundmatch = 0;
cb4cb2cb9 Prarit Bhargava 2005-07-06 318 for (i = pdacpu(cpu)->sn_first_irq + 1;
cb4cb2cb9 Prarit Bhargava 2005-07-06 319 i < NR_IRQS && !foundmatch; i++) {
cb4cb2cb9 Prarit Bhargava 2005-07-06 320 list_for_each_entry_rcu(tmp_irq_info,
cb4cb2cb9 Prarit Bhargava 2005-07-06 321 sn_irq_lh[i],
cb4cb2cb9 Prarit Bhargava 2005-07-06 322 list) {
^1da177e4 Linus Torvalds 2005-04-16 323 if (tmp_irq_info->irq_cpuid == cpu) {
cb4cb2cb9 Prarit Bhargava 2005-07-06 324 foundmatch = 1;
^1da177e4 Linus Torvalds 2005-04-16 325 break;
^1da177e4 Linus Torvalds 2005-04-16 326 }
^1da177e4 Linus Torvalds 2005-04-16 327 }
^1da177e4 Linus Torvalds 2005-04-16 328 }
^1da177e4 Linus Torvalds 2005-04-16 329 pdacpu(cpu)->sn_first_irq = ((i == NR_IRQS) ? 0 : i);
^1da177e4 Linus Torvalds 2005-04-16 330 }
cb4cb2cb9 Prarit Bhargava 2005-07-06 @331 rcu_read_unlock();
^1da177e4 Linus Torvalds 2005-04-16 @332 }
^1da177e4 Linus Torvalds 2005-04-16 333
^1da177e4 Linus Torvalds 2005-04-16 334 void sn_irq_fixup(struct pci_dev *pci_dev, struct sn_irq_info *sn_irq_info)
^1da177e4 Linus Torvalds 2005-04-16 335 {
:::::: The code at line 316 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 5608 bytes --]
next prev parent reply other threads:[~2016-08-26 20:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 18:00 [PATCH 0/5] IA64: Fine-tuning for some function implementations SF Markus Elfring
2016-08-26 18:02 ` [PATCH 1/5] IA64-IRQ: Use kmalloc_array() in sn_irq_lh_init() SF Markus Elfring
2016-08-26 19:57 ` Julia Lawall
2016-08-26 21:02 ` Joe Perches
2016-08-27 7:02 ` SF Markus Elfring
2016-08-28 0:40 ` Joe Perches
2016-08-28 7:37 ` SF Markus Elfring
2016-08-28 9:28 ` [PATCH 1/5] " Julia Lawall
2016-08-28 18:33 ` Joe Perches
2016-08-27 6:20 ` SF Markus Elfring
2016-08-26 20:18 ` [PATCH 1/5] " kbuild test robot
2016-08-27 8:48 ` walter harms
2016-08-26 18:03 ` [PATCH 2/5] IA64-IRQ: Delete unnecessary braces SF Markus Elfring
2016-08-26 20:27 ` kbuild test robot [this message]
2016-08-26 18:04 ` [PATCH 3/5] ia64/mm/tlb: Fix indentation in ia64_global_tlb_purge() SF Markus Elfring
2016-08-26 18:05 ` [PATCH 4/5] ia64/mm/tlb: Use kmalloc_array() in ia64_itr_entry() SF Markus Elfring
2016-08-26 18:06 ` [PATCH 5/5] ia64/mm/tlb: Delete unnecessary braces SF Markus Elfring
2016-08-26 20:42 ` kbuild test robot
2016-08-27 7:29 ` SF Markus Elfring
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=201608270449.IfZBeIAu%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=linux-ia64@vger.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;
as well as URLs for NNTP newsgroup(s).