Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix
From: kbuild test robot
Date: Fri Feb 03 2017 - 21:41:49 EST
Hi Derek,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.10-rc6 next-20170203]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Derek-Robson/Drivers-staging-speakup-spk_priv-h-style-fix/20170204-080247
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
#define param_check_int(name, p) __param_check(name, p, int)
^~~~~~~~~~~~~
include/linux/moduleparam.h:146:2: note: in expansion of macro 'param_check_int'
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:146:36: error: expected declaration specifiers before ';' token
param_check_##type(name, &(value)); \
^
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:220:20: error: storage class specified for parameter '__param_str_ser'
static const char __param_str_##name[] = prefix #name; \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:146:36: error: parameter '__param_str_ser' is initialized
param_check_##type(name, &(value)); \
^
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: storage class specified for parameter '__param_ser'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:16: error: parameter '__param_ser' is initialized
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:16: warning: '__used__' attribute ignored [-Wattributes]
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: section attribute not allowed for '__param_ser'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: alignment may not be specified for '__param_ser'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: storage class specified for parameter '__UNIQUE_ID_sertype12'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/linux/thread_info.h:11:0,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from drivers/staging/speakup/spk_types.h:7,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/bug.h:37:45: error: parameter '__UNIQUE_ID_sertype12' is initialized
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/kernel.h:868:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/bug.h:37:45: warning: '__used__' attribute ignored [-Wattributes]
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/kernel.h:868:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: section attribute not allowed for '__UNIQUE_ID_sertype12'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: alignment may not be specified for '__UNIQUE_ID_sertype12'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:136:1: note: in expansion of macro 'module_param_named'
module_param_named(ser, synth_acntsa.ser, int, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/linux/module.h:18:0,
from drivers/staging/speakup/spk_types.h:12,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/moduleparam.h:344:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:354:36: note: in expansion of macro '__param_check'
#define param_check_short(name, p) __param_check(name, p, short)
^~~~~~~~~~~~~
include/linux/moduleparam.h:146:2: note: in expansion of macro 'param_check_short'
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:146:36: error: expected declaration specifiers before ';' token
param_check_##type(name, &(value)); \
^
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:220:20: error: storage class specified for parameter '__param_str_start'
static const char __param_str_##name[] = prefix #name; \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:146:36: error: parameter '__param_str_start' is initialized
param_check_##type(name, &(value)); \
^
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: storage class specified for parameter '__param_start'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:16: error: parameter '__param_start' is initialized
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:16: warning: '__used__' attribute ignored [-Wattributes]
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: section attribute not allowed for '__param_start'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:221:49: error: alignment may not be specified for '__param_start'
static struct kernel_param __moduleparam_const __param_##name \
^
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: storage class specified for parameter '__UNIQUE_ID_starttype13'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/linux/thread_info.h:11:0,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from include/linux/fs.h:5,
from drivers/staging/speakup/spk_types.h:7,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/bug.h:37:45: error: parameter '__UNIQUE_ID_starttype13' is initialized
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/kernel.h:868:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
include/linux/bug.h:37:45: warning: '__used__' attribute ignored [-Wattributes]
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
include/linux/kernel.h:868:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO'
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:225:6: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:167:2: note: in expansion of macro '__module_param_call'
__module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
^~~~~~~~~~~~~~~~~~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, ¶m_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: section attribute not allowed for '__UNIQUE_ID_starttype13'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: alignment may not be specified for '__UNIQUE_ID_starttype13'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:30:3: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parmtype, name##type, #name ":" _type)
^~~~~~~~~~~~~
include/linux/moduleparam.h:148:2: note: in expansion of macro '__MODULE_PARM_TYPE'
__MODULE_PARM_TYPE(name, #type)
^~~~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:137:1: note: in expansion of macro 'module_param_named'
module_param_named(start, synth_acntsa.startup, short, 0444);
^~~~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: storage class specified for parameter '__UNIQUE_ID_ser14'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:139:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
^~~~~~~~~~~~~~~~
>> drivers/staging/speakup/speakup_acntsa.c:139:1: error: parameter '__UNIQUE_ID_ser14' is initialized
>> drivers/staging/speakup/speakup_acntsa.c:139:1: warning: '__used__' attribute ignored [-Wattributes]
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: section attribute not allowed for '__UNIQUE_ID_ser14'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:139:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
^~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: alignment may not be specified for '__UNIQUE_ID_ser14'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:139:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
^~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: storage class specified for parameter '__UNIQUE_ID_start15'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:140:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(start, "Start the synthesizer once it is loaded.");
^~~~~~~~~~~~~~~~
>> drivers/staging/speakup/speakup_acntsa.c:140:1: error: parameter '__UNIQUE_ID_start15' is initialized
drivers/staging/speakup/speakup_acntsa.c:140:1: warning: '__used__' attribute ignored [-Wattributes]
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: section attribute not allowed for '__UNIQUE_ID_start15'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:140:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(start, "Start the synthesizer once it is loaded.");
^~~~~~~~~~~~~~~~
>> include/linux/compiler-gcc.h:182:45: error: alignment may not be specified for '__UNIQUE_ID_start15'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/moduleparam.h:35:2: note: in expansion of macro '__MODULE_INFO'
__MODULE_INFO(parm, _parm, #_parm ":" desc)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:140:1: note: in expansion of macro 'MODULE_PARM_DESC'
MODULE_PARM_DESC(start, "Start the synthesizer once it is loaded.");
^~~~~~~~~~~~~~~~
In file included from drivers/staging/speakup/spk_types.h:17:0,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/device.h:1460:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{ \
^
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
In file included from drivers/staging/speakup/spk_types.h:12:0,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/module.h:131:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{ return initfn; } \
^
include/linux/device.h:1463:1: note: in expansion of macro 'module_init'
module_init(__driver##_init); \
^~~~~~~~~~~
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
include/linux/module.h:131:2: warning: 'alias' attribute ignored [-Wattributes]
{ return initfn; } \
^
include/linux/device.h:1463:1: note: in expansion of macro 'module_init'
module_init(__driver##_init); \
^~~~~~~~~~~
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
In file included from drivers/staging/speakup/spk_types.h:17:0,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/device.h:1463:29: error: expected declaration specifiers before ';' token
module_init(__driver##_init); \
^
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
include/linux/device.h:1465:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{ \
^
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
In file included from drivers/staging/speakup/spk_types.h:12:0,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/module.h:137:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{ return exitfn; } \
^
include/linux/device.h:1468:1: note: in expansion of macro 'module_exit'
module_exit(__driver##_exit);
^~~~~~~~~~~
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
include/linux/module.h:137:2: warning: 'alias' attribute ignored [-Wattributes]
{ return exitfn; } \
^
include/linux/device.h:1468:1: note: in expansion of macro 'module_exit'
module_exit(__driver##_exit);
^~~~~~~~~~~
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
In file included from drivers/staging/speakup/spk_types.h:17:0,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
include/linux/device.h:1468:29: error: expected declaration specifiers before ';' token
module_exit(__driver##_exit);
^
drivers/staging/speakup/spk_types.h:190:2: note: in expansion of macro 'module_driver'
module_driver(__spk_synth, synth_add, synth_remove)
^~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:1: note: in expansion of macro 'module_spk_synth'
module_spk_synth(synth_acntsa);
^~~~~~~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:142:31: error: expected declaration specifiers before ';' token
module_spk_synth(synth_acntsa);
^
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: storage class specified for parameter '__UNIQUE_ID_author16'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO'
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^~~~~~~~~~~~~
include/linux/module.h:205:32: note: in expansion of macro 'MODULE_INFO'
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
^~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:144:1: note: in expansion of macro 'MODULE_AUTHOR'
MODULE_AUTHOR("Kirk Reiser <kirk@xxxxxxxxxxxxxx>");
^~~~~~~~~~~~~
>> drivers/staging/speakup/speakup_acntsa.c:144:1: error: parameter '__UNIQUE_ID_author16' is initialized
drivers/staging/speakup/speakup_acntsa.c:144:1: warning: '__used__' attribute ignored [-Wattributes]
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from drivers/staging/speakup/spk_types.h:6,
from drivers/staging/speakup/spk_priv.h:23,
from drivers/staging/speakup/speakup_acntsa.c:22:
>> include/linux/compiler-gcc.h:182:45: error: section attribute not allowed for '__UNIQUE_ID_author16'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^
include/linux/compiler.h:52:23: note: in definition of macro '___PASTE'
#define ___PASTE(a,b) a##b
^
include/linux/compiler-gcc.h:182:29: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/compiler.h:53:22: note: in expansion of macro '___PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^~~~~~~~
include/linux/compiler-gcc.h:182:37: note: in expansion of macro '__PASTE'
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
^~~~~~~
include/linux/moduleparam.h:21:19: note: in expansion of macro '__UNIQUE_ID'
static const char __UNIQUE_ID(name)[] \
^~~~~~~~~~~
include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO'
#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
^~~~~~~~~~~~~
include/linux/module.h:205:32: note: in expansion of macro 'MODULE_INFO'
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
^~~~~~~~~~~
drivers/staging/speakup/speakup_acntsa.c:144:1: note: in expansion of macro 'MODULE_AUTHOR'
MODULE_AUTHOR("Kirk Reiser <kirk@xxxxxxxxxxxxxx>");
^~~~~~~~~~~~~
..
vim +/__UNIQUE_ID_sertype12 +182 include/linux/compiler-gcc.h
cb984d10 Joe Perches 2015-06-25 166 /* Mark functions as cold. gcc will assume any path leading to a call
cb984d10 Joe Perches 2015-06-25 167 * to them will be unlikely. This means a lot of manual unlikely()s
cb984d10 Joe Perches 2015-06-25 168 * are unnecessary now for any paths leading to the usual suspects
cb984d10 Joe Perches 2015-06-25 169 * like BUG(), printk(), panic() etc. [but let's keep them for now for
cb984d10 Joe Perches 2015-06-25 170 * older compilers]
cb984d10 Joe Perches 2015-06-25 171 *
cb984d10 Joe Perches 2015-06-25 172 * Early snapshots of gcc 4.3 don't support this and we can't detect this
cb984d10 Joe Perches 2015-06-25 173 * in the preprocessor, but we can live with this because they're unreleased.
cb984d10 Joe Perches 2015-06-25 174 * Maketime probing would be overkill here.
cb984d10 Joe Perches 2015-06-25 175 *
cb984d10 Joe Perches 2015-06-25 176 * gcc also has a __attribute__((__hot__)) to move hot functions into
cb984d10 Joe Perches 2015-06-25 177 * a special section, but I don't see any sense in this right now in
cb984d10 Joe Perches 2015-06-25 178 * the kernel context
cb984d10 Joe Perches 2015-06-25 179 */
cb984d10 Joe Perches 2015-06-25 180 #define __cold __attribute__((__cold__))
cb984d10 Joe Perches 2015-06-25 181
cb984d10 Joe Perches 2015-06-25 @182 #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
cb984d10 Joe Perches 2015-06-25 183
cb984d10 Joe Perches 2015-06-25 184 #ifndef __CHECKER__
cb984d10 Joe Perches 2015-06-25 185 # define __compiletime_warning(message) __attribute__((warning(message)))
cb984d10 Joe Perches 2015-06-25 186 # define __compiletime_error(message) __attribute__((error(message)))
cb984d10 Joe Perches 2015-06-25 187 #endif /* __CHECKER__ */
cb984d10 Joe Perches 2015-06-25 188 #endif /* GCC_VERSION >= 40300 */
cb984d10 Joe Perches 2015-06-25 189
cb984d10 Joe Perches 2015-06-25 190 #if GCC_VERSION >= 40500
:::::: The code at line 182 was first introduced by commit
:::::: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files
:::::: TO: Joe Perches <joe@xxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip