2015-06-15 23:55:35

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150615, in drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c

Building with the attached random configuration file,

In file included from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h:34:0,
from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:44:
./arch/x86/include/asm/irq.h:39:8: error: unknown type name ‘bool’
extern bool handle_irq(unsigned irq, struct pt_regs *regs);
^
./arch/x86/include/asm/irq.h:39:45: warning: ‘struct pt_regs’ declared
inside parameter list
extern bool handle_irq(unsigned irq, struct pt_regs *regs);
^
./arch/x86/include/asm/irq.h:39:45: warning: its scope is only this
definition or declaration, which is probably not what you want
./arch/x86/include/asm/irq.h:41:18: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘unsigned’
extern __visible unsigned int do_IRQ(struct pt_regs *regs);
^
In file included from ./arch/x86/include/asm/irq.h:11:0,
from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h:34,
from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:44:
./arch/x86/include/asm/irq_vectors.h:110:23: error: expected ‘)’
before numeric constant
#define NR_VECTORS 256
^
./arch/x86/include/asm/irq.h:44:37: note: in expansion of macro ‘NR_VECTORS’
extern DECLARE_BITMAP(used_vectors, NR_VECTORS);
^
In file included from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h:34:0,
from drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:44:
./arch/x86/include/asm/irq.h:50:1: warning: parameter names (without
types) in function declaration


Attachments:
randconfig-1434394928.txt (111.43 kB)