Errors: Compiling 3.18-rc2

From: Albino Biasutti Neto
Date: Tue Oct 28 2014 - 15:42:02 EST


Hi

I was compile kernel version 3.18-rc2, very errors:

# make -j2

fs/open.c:822:1: error: expected identifier or â(â before â<<â token
<<<<<<< HEAD
^
fs/open.c: In function âbuild_open_flagsâ:
fs/open.c:847:1: error: expected declaration specifiers before â>>â token
>>>>>>> 88e237610b426897f0e9935adb6a60bd38bfe6c6
^
fs/open.c:847:9: error: invalid suffix
"b426897f0e9935adb6a60bd38bfe6c6" on floating constant
>>>>>>> 88e237610b426897f0e9935adb6a60bd38bfe6c6
^
fs/open.c:926:77: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
struct file *file_open_name(struct filename *name, int flags, umode_t mode) {
^
fs/open.c:943:71: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
struct file *filp_open(const char *filename, int flags, umode_t mode) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:947:15: error: storage class specified for parameter âfilp_openâ
EXPORT_SYMBOL(filp_open);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_filp_openâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
fs/open.c:947:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:947:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_filp_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
fs/open.c:947:1: error: parameter â__kcrctab_filp_openâ is initialized
fs/open.c:947:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_filp_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_filp_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
fs/open.c:947:1: error: parameter â__kstrtab_filp_openâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_filp_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_filp_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_filp_openâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:947:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_open);
^
fs/open.c:947:25: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(filp_open);
^
fs/open.c:951:1: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
{
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:963:15: error: storage class specified for parameter âfile_open_rootâ
EXPORT_SYMBOL(file_open_root);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_file_open_rootâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
fs/open.c:963:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:963:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_file_open_rootâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
fs/open.c:963:1: error: parameter â__kcrctab_file_open_rootâ is initialized
fs/open.c:963:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_file_open_rootâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_file_open_rootâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
fs/open.c:963:1: error: parameter â__kstrtab_file_open_rootâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_file_open_rootâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_file_open_rootâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_file_open_rootâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:963:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(file_open_root);
^
fs/open.c:963:30: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(file_open_root);
^
fs/open.c:966:1: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
{
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:152:21: error: storage class specified for
parameter âtypes__openâ
static const char *types_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
fs/open.c:993:1: error: parameter âtypes__openâ is initialized
fs/open.c:993:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:993:1: warning: (near initialization for âtypes__openâ)
[enabled by default]
fs/open.c:993:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:993:1: warning: (near initialization for âtypes__openâ)
[enabled by default]
fs/open.c:993:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:993:1: warning: (near initialization for âtypes__openâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:155:21: error: storage class specified for
parameter âargs__openâ
static const char *args_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
fs/open.c:993:1: error: parameter âargs__openâ is initialized
fs/open.c:993:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:993:1: warning: (near initialization for âargs__openâ)
[enabled by default]
fs/open.c:993:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:993:1: warning: (near initialization for âargs__openâ)
[enabled by default]
fs/open.c:993:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:993:1: warning: (near initialization for âargs__openâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:120:33: error: storage class specified for
parameter â__syscall_meta__openâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:122:4: error: storage class specified for
parameter âevent_enter__openâ
event_enter_##sname = { \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:121:16: error: parameter âevent_enter__openâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:121:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:133:4: error: storage class specified for
parameter â__event_enter__openâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:131:16: error: parameter
â__event_enter__openâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:131:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:133:4: error: section attribute not allowed
for â__event_enter__openâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:158:34: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:136:33: error: storage class specified for
parameter â__syscall_meta__openâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:136:33: error: redefinition of parameter
â__syscall_meta__openâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:120:33: note: previous definition of
â__syscall_meta__openâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:138:4: error: storage class specified for
parameter âevent_exit__openâ
event_exit_##sname = { \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:137:16: error: parameter âevent_exit__openâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:137:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:149:3: error: storage class specified for
parameter â__event_exit__openâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:147:16: error: parameter â__event_exit__openâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:147:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:149:3: error: section attribute not allowed
for â__event_exit__openâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:159:33: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:161:4: error: storage class specified for
parameter â__syscall_meta__openâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:160:16: error: parameter
â__syscall_meta__openâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:160:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:161:4: error: redefinition of parameter
â__syscall_meta__openâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:136:33: note: previous definition of
â__syscall_meta__openâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:173:4: error: storage class specified for
parameter â__p_syscall_meta__openâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:171:16: error: parameter
â__p_syscall_meta__openâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:171:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:173:4: error: section attribute not allowed
for â__p_syscall_meta__openâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:171:16: warning: âaliasâ attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:197:21: error: storage class specified for
parameter âSYSC_openâ
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:197:21: warning: parameter âSYSC_openâ
declared âinlineâ [enabled by default]
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:197:21: error: âno_instrument_functionâ
attribute applies only to functions
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
include/linux/syscalls.h:200:2: error: expected â=â, â,â, â;â, âasmâ
or â__attribute__â before â{â token
{ \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:184:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
^
fs/open.c:993:1: note: in expansion of macro âSYSCALL_DEFINE3â
SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
^
fs/open.c:994:1: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
{
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:152:21: error: storage class specified for
parameter âtypes__openatâ
static const char *types_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
fs/open.c:1001:1: error: parameter âtypes__openatâ is initialized
fs/open.c:1001:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1001:1: warning: (near initialization for âtypes__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âtypes__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âtypes__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âtypes__openatâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:155:21: error: storage class specified for
parameter âargs__openatâ
static const char *args_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
fs/open.c:1001:1: error: parameter âargs__openatâ is initialized
fs/open.c:1001:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1001:1: warning: (near initialization for âargs__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âargs__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âargs__openatâ)
[enabled by default]
fs/open.c:1001:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1001:1: warning: (near initialization for âargs__openatâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:120:33: error: storage class specified for
parameter â__syscall_meta__openatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:122:4: error: storage class specified for
parameter âevent_enter__openatâ
event_enter_##sname = { \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:121:16: error: parameter
âevent_enter__openatâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:121:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:133:4: error: storage class specified for
parameter â__event_enter__openatâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:131:16: error: parameter
â__event_enter__openatâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:131:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:133:4: error: section attribute not allowed
for â__event_enter__openatâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:158:34: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:136:33: error: storage class specified for
parameter â__syscall_meta__openatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:136:33: error: redefinition of parameter
â__syscall_meta__openatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:120:33: note: previous definition of
â__syscall_meta__openatâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:138:4: error: storage class specified for
parameter âevent_exit__openatâ
event_exit_##sname = { \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:137:16: error: parameter âevent_exit__openatâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:137:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:149:3: error: storage class specified for
parameter â__event_exit__openatâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:147:16: error: parameter
â__event_exit__openatâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:147:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:149:3: error: section attribute not allowed
for â__event_exit__openatâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:159:33: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:161:4: error: storage class specified for
parameter â__syscall_meta__openatâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:160:16: error: parameter
â__syscall_meta__openatâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:160:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:161:4: error: redefinition of parameter
â__syscall_meta__openatâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:136:33: note: previous definition of
â__syscall_meta__openatâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:173:4: error: storage class specified for
parameter â__p_syscall_meta__openatâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:171:16: error: parameter
â__p_syscall_meta__openatâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:171:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:173:4: error: section attribute not allowed
for â__p_syscall_meta__openatâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:171:16: warning: âaliasâ attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:197:21: error: storage class specified for
parameter âSYSC_openatâ
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:197:21: warning: parameter âSYSC_openatâ
declared âinlineâ [enabled by default]
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:197:21: error: âno_instrument_functionâ
attribute applies only to functions
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
include/linux/syscalls.h:200:2: error: expected â=â, â,â, â;â, âasmâ
or â__attribute__â before â{â token
{ \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:185:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE4(name, ...) SYSCALL_DEFINEx(4, _##name, __VA_ARGS__)
^
fs/open.c:1001:1: note: in expansion of macro âSYSCALL_DEFINE4â
SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
^
fs/open.c:1003:1: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
{
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:152:21: error: storage class specified for
parameter âtypes__creatâ
static const char *types_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
fs/open.c:1016:1: error: parameter âtypes__creatâ is initialized
fs/open.c:1016:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1016:1: warning: (near initialization for âtypes__creatâ)
[enabled by default]
fs/open.c:1016:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1016:1: warning: (near initialization for âtypes__creatâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:155:21: error: storage class specified for
parameter âargs__creatâ
static const char *args_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
fs/open.c:1016:1: error: parameter âargs__creatâ is initialized
fs/open.c:1016:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1016:1: warning: (near initialization for âargs__creatâ)
[enabled by default]
fs/open.c:1016:1: warning: excess elements in scalar initializer
[enabled by default]
fs/open.c:1016:1: warning: (near initialization for âargs__creatâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:120:33: error: storage class specified for
parameter â__syscall_meta__creatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:122:4: error: storage class specified for
parameter âevent_enter__creatâ
event_enter_##sname = { \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:121:16: error: parameter âevent_enter__creatâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:121:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:133:4: error: storage class specified for
parameter â__event_enter__creatâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:131:16: error: parameter
â__event_enter__creatâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:131:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:133:4: error: section attribute not allowed
for â__event_enter__creatâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:158:34: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:136:33: error: storage class specified for
parameter â__syscall_meta__creatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:136:33: error: redefinition of parameter
â__syscall_meta__creatâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:120:33: note: previous definition of
â__syscall_meta__creatâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:138:4: error: storage class specified for
parameter âevent_exit__creatâ
event_exit_##sname = { \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:137:16: error: parameter âevent_exit__creatâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:137:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:149:3: error: storage class specified for
parameter â__event_exit__creatâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:147:16: error: parameter
â__event_exit__creatâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:147:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:149:3: error: section attribute not allowed
for â__event_exit__creatâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:159:33: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:161:4: error: storage class specified for
parameter â__syscall_meta__creatâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:160:16: error: parameter
â__syscall_meta__creatâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:160:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:161:4: error: redefinition of parameter
â__syscall_meta__creatâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:136:33: note: previous definition of
â__syscall_meta__creatâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:173:4: error: storage class specified for
parameter â__p_syscall_meta__creatâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:171:16: error: parameter
â__p_syscall_meta__creatâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:171:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:173:4: error: section attribute not allowed
for â__p_syscall_meta__creatâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:171:16: warning: âaliasâ attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:197:21: error: storage class specified for
parameter âSYSC_creatâ
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:197:21: warning: parameter âSYSC_creatâ
declared âinlineâ [enabled by default]
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:197:21: error: âno_instrument_functionâ
attribute applies only to functions
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
include/linux/syscalls.h:200:2: error: expected â=â, â,â, â;â, âasmâ
or â__attribute__â before â{â token
{ \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:183:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE2(name, ...) SYSCALL_DEFINEx(2, _##name, __VA_ARGS__)
^
fs/open.c:1016:1: note: in expansion of macro âSYSCALL_DEFINE2â
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
fs/open.c:1016:70: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) {
^
fs/open.c:1025:50: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
int filp_close(struct file *filp, fl_owner_t id) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:1044:15: error: storage class specified for parameter âfilp_closeâ
EXPORT_SYMBOL(filp_close);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_filp_closeâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
fs/open.c:1044:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:1044:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_filp_closeâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
fs/open.c:1044:1: error: parameter â__kcrctab_filp_closeâ is initialized
fs/open.c:1044:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_filp_closeâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_filp_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
fs/open.c:1044:1: error: parameter â__kstrtab_filp_closeâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_filp_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_filp_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_filp_closeâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1044:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(filp_close);
^
fs/open.c:1044:26: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(filp_close);
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:152:21: error: storage class specified for
parameter âtypes__closeâ
static const char *types_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
fs/open.c:1051:1: error: parameter âtypes__closeâ is initialized
fs/open.c:1051:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1051:1: warning: (near initialization for âtypes__closeâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:155:21: error: storage class specified for
parameter âargs__closeâ
static const char *args_##sname[] = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
fs/open.c:1051:1: error: parameter âargs__closeâ is initialized
fs/open.c:1051:1: warning: initialization from incompatible pointer
type [enabled by default]
fs/open.c:1051:1: warning: (near initialization for âargs__closeâ)
[enabled by default]
In file included from fs/open.c:26:0:
include/linux/syscalls.h:120:33: error: storage class specified for
parameter â__syscall_meta__closeâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:122:4: error: storage class specified for
parameter âevent_enter__closeâ
event_enter_##sname = { \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:121:16: error: parameter âevent_enter__closeâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:121:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:133:4: error: storage class specified for
parameter â__event_enter__closeâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:131:16: error: parameter
â__event_enter__closeâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:131:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:133:4: error: section attribute not allowed
for â__event_enter__closeâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:158:34: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:136:33: error: storage class specified for
parameter â__syscall_meta__closeâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:136:33: error: redefinition of parameter
â__syscall_meta__closeâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:120:33: note: previous definition of
â__syscall_meta__closeâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:138:4: error: storage class specified for
parameter âevent_exit__closeâ
event_exit_##sname = { \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:137:16: error: parameter âevent_exit__closeâ
is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:137:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:149:3: error: storage class specified for
parameter â__event_exit__closeâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:147:16: error: parameter
â__event_exit__closeâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:147:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:149:3: error: section attribute not allowed
for â__event_exit__closeâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:159:33: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:161:4: error: storage class specified for
parameter â__syscall_meta__closeâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:160:16: error: parameter
â__syscall_meta__closeâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:160:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:161:4: error: redefinition of parameter
â__syscall_meta__closeâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:136:33: note: previous definition of
â__syscall_meta__closeâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:173:4: error: storage class specified for
parameter â__p_syscall_meta__closeâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:171:16: error: parameter
â__p_syscall_meta__closeâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:171:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:173:4: error: section attribute not allowed
for â__p_syscall_meta__closeâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:171:16: warning: âaliasâ attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:190:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(sname, x, __VA_ARGS__) \
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:197:21: error: storage class specified for
parameter âSYSC_closeâ
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:197:21: warning: parameter âSYSC_closeâ
declared âinlineâ [enabled by default]
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:197:21: error: âno_instrument_functionâ
attribute applies only to functions
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__)); \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
include/linux/syscalls.h:200:2: error: expected â=â, â,â, â;â, âasmâ
or â__attribute__â before â{â token
{ \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
fs/open.c:1051:42: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:1063:15: error: storage class specified for parameter âsys_closeâ
EXPORT_SYMBOL(sys_close);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
fs/open.c:1063:15: error: redefinition of parameter âsys_closeâ
EXPORT_SYMBOL(sys_close);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:195:18: note: previous definition of
âsys_closeâ was here
asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \
^
include/linux/syscalls.h:191:2: note: in expansion of macro â__SYSCALL_DEFINExâ
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
^
include/linux/syscalls.h:182:36: note: in expansion of macro âSYSCALL_DEFINExâ
#define SYSCALL_DEFINE1(name, ...) SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
^
fs/open.c:1051:1: note: in expansion of macro âSYSCALL_DEFINE1â
SYSCALL_DEFINE1(close, unsigned int, fd) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_sys_closeâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
fs/open.c:1063:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:1063:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_sys_closeâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
fs/open.c:1063:1: error: parameter â__kcrctab_sys_closeâ is initialized
fs/open.c:1063:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_sys_closeâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_sys_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
fs/open.c:1063:1: error: parameter â__kstrtab_sys_closeâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_sys_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_sys_closeâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_sys_closeâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1063:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(sys_close);
^
fs/open.c:1063:25: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(sys_close);
^
In file included from fs/open.c:26:0:
include/linux/syscalls.h:152:21: error: storage class specified for
parameter âtypes__vhangupâ
static const char *types_##sname[] = { \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
fs/open.c:1069:1: error: parameter âtypes__vhangupâ is initialized
fs/open.c:1069:1: error: empty scalar initializer
fs/open.c:1069:1: error: (near initialization for âtypes__vhangupâ)
In file included from fs/open.c:26:0:
include/linux/syscalls.h:155:21: error: storage class specified for
parameter âargs__vhangupâ
static const char *args_##sname[] = { \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
fs/open.c:1069:1: error: parameter âargs__vhangupâ is initialized
fs/open.c:1069:1: error: empty scalar initializer
fs/open.c:1069:1: error: (near initialization for âargs__vhangupâ)
In file included from fs/open.c:26:0:
include/linux/syscalls.h:120:33: error: storage class specified for
parameter â__syscall_meta__vhangupâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:122:4: error: storage class specified for
parameter âevent_enter__vhangupâ
event_enter_##sname = { \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:121:16: error: parameter
âevent_enter__vhangupâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:121:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:133:4: error: storage class specified for
parameter â__event_enter__vhangupâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:131:16: error: parameter
â__event_enter__vhangupâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:131:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:133:4: error: section attribute not allowed
for â__event_enter__vhangupâ
*__event_enter_##sname = &event_enter_##sname;
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:158:34: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:136:33: error: storage class specified for
parameter â__syscall_meta__vhangupâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:136:33: error: redefinition of parameter
â__syscall_meta__vhangupâ
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:120:33: note: previous definition of
â__syscall_meta__vhangupâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:158:2: note: in expansion of macro
âSYSCALL_TRACE_ENTER_EVENTâ
SYSCALL_TRACE_ENTER_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:138:4: error: storage class specified for
parameter âevent_exit__vhangupâ
event_exit_##sname = { \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:137:16: error: parameter
âevent_exit__vhangupâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:137:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:149:3: error: storage class specified for
parameter â__event_exit__vhangupâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:147:16: error: parameter
â__event_exit__vhangupâ is initialized
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:147:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct ftrace_event_call __used \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:149:3: error: section attribute not allowed
for â__event_exit__vhangupâ
*__event_exit_##sname = &event_exit_##sname;
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:159:33: error: expected declaration
specifiers before â;â token
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:161:4: error: storage class specified for
parameter â__syscall_meta__vhangupâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:160:16: error: parameter
â__syscall_meta__vhangupâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:160:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:161:4: error: redefinition of parameter
â__syscall_meta__vhangupâ
__syscall_meta_##sname = { \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:136:33: note: previous definition of
â__syscall_meta__vhangupâ was here
static struct syscall_metadata __syscall_meta_##sname; \
^
include/linux/syscalls.h:159:2: note: in expansion of macro
âSYSCALL_TRACE_EXIT_EVENTâ
SYSCALL_TRACE_EXIT_EVENT(sname); \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:173:4: error: storage class specified for
parameter â__p_syscall_meta__vhangupâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:171:16: error: parameter
â__p_syscall_meta__vhangupâ is initialized
static struct syscall_metadata __used \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:171:16: warning: â__used__â attribute ignored
[-Wattributes]
static struct syscall_metadata __used \
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:173:4: error: section attribute not allowed
for â__p_syscall_meta__vhangupâ
*__p_syscall_meta_##sname = &__syscall_meta_##sname;
^
include/linux/syscalls.h:179:2: note: in expansion of macro âSYSCALL_METADATAâ
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
include/linux/syscalls.h:179:31: error: expected declaration
specifiers before â;â token
SYSCALL_METADATA(_##sname, 0); \
^
fs/open.c:1069:1: note: in expansion of macro âSYSCALL_DEFINE0â
SYSCALL_DEFINE0(vhangup) {
^
fs/open.c:1069:26: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
SYSCALL_DEFINE0(vhangup) {
^
fs/open.c:1083:65: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
int generic_file_open(struct inode * inode, struct file * filp) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:1089:15: error: storage class specified for parameter
âgeneric_file_openâ
EXPORT_SYMBOL(generic_file_open);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_generic_file_openâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
fs/open.c:1089:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:1089:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_generic_file_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
fs/open.c:1089:1: error: parameter â__kcrctab_generic_file_openâ is initialized
fs/open.c:1089:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_generic_file_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_generic_file_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
fs/open.c:1089:1: error: parameter â__kstrtab_generic_file_openâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_generic_file_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_generic_file_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_generic_file_openâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1089:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(generic_file_open);
^
fs/open.c:1089:33: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(generic_file_open);
^
fs/open.c:1097:62: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â{â token
int nonseekable_open(struct inode *inode, struct file *filp) {
^
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
fs/open.c:1102:15: error: storage class specified for parameter
ânonseekable_openâ
EXPORT_SYMBOL(nonseekable_open);
^
include/linux/export.h:57:21: note: in definition of macro â__EXPORT_SYMBOLâ
extern typeof(sym) sym; \
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
include/linux/export.h:46:25: error: storage class specified for
parameter â__crc_nonseekable_openâ
extern __visible void *__crc_##sym __attribute__((weak)); \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:1102:1: warning: âweakâ attribute ignored [-Wattributes]
fs/open.c:1102:1: warning: âexternally_visibleâ attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: storage class specified for
parameter â__kcrctab_nonseekable_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:1102:1: error: parameter â__kcrctab_nonseekable_openâ is initialized
fs/open.c:1102:1: warning: â__used__â attribute ignored [-Wattributes]
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:47:29: error: section attribute not allowed for
â__kcrctab_nonseekable_openâ
static const unsigned long __kcrctab_##sym \
^
include/linux/export.h:58:2: note: in expansion of macro â__CRC_SYMBOLâ
__CRC_SYMBOL(sym, sec) \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
include/linux/export.h:59:20: error: storage class specified for
parameter â__kstrtab_nonseekable_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:1102:1: error: parameter â__kstrtab_nonseekable_openâ is initialized
In file included from include/linux/linkage.h:6:0,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/mmzone.h:7,
from include/linux/gfp.h:5,
from include/linux/mm.h:9,
from fs/open.c:8:
include/linux/export.h:59:20: error: section attribute not allowed for
â__kstrtab_nonseekable_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
include/linux/export.h:59:20: error: alignment may not be specified
for â__kstrtab_nonseekable_openâ
static const char __kstrtab_##sym[] \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
include/linux/export.h:62:36: error: storage class specified for
parameter â__ksymtab_nonseekable_openâ
extern const struct kernel_symbol __ksymtab_##sym; \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/linux/string.h:5,
from fs/open.c:7:
include/linux/compiler-gcc4.h:65:19: error: expected declaration
specifiers before â__attribute__â
#define __visible __attribute__((externally_visible))
^
include/linux/export.h:63:2: note: in expansion of macro â__visibleâ
__visible const struct kernel_symbol __ksymtab_##sym \
^
include/linux/export.h:69:2: note: in expansion of macro â__EXPORT_SYMBOLâ
__EXPORT_SYMBOL(sym, "")
^
fs/open.c:1102:1: note: in expansion of macro âEXPORT_SYMBOLâ
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:1102:32: error: expected declaration specifiers before â;â token
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:846:19: error: old-style parameter declarations in
prototyped function definition
static inline int build_open_flags(int flags, umode_t mode, struct
open_flags *op)
^
fs/open.c:1102:32: error: expected â{â at end of input
EXPORT_SYMBOL(nonseekable_open);
^
fs/open.c:1102:32: warning: no return statement in function returning
non-void [-Wreturn-type]
make[1]: ** [fs/open.o] Erro 1
make: ** [fs] Erro 2
make: ** Esperando que outros processos terminem.
CC kernel/watchdog.o
CC kernel/seccomp.o
CC kernel/relay.o
CC kernel/utsname_sysctl.o
CC kernel/delayacct.o
CC kernel/taskstats.o
CC kernel/tsacct.o
CC kernel/tracepoint.o
CC kernel/latencytop.o
CC kernel/elfcore.o
CC kernel/irq_work.o
CC kernel/user-return-notifier.o
CC kernel/padata.o
CC kernel/crash_dump.o
CC kernel/jump_label.o
LD kernel/built-in.o


Albino
binoanb.eti.br
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/