Re: [PATCH] 8250: option 'force_polling' for buggy IRQs

From: kbuild test robot
Date: Mon Jul 25 2016 - 14:20:39 EST


Hi,

[auto build test ERROR on tty/tty-testing]
[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/Max-Staudt/8250-option-force_polling-for-buggy-IRQs/20160726-013812
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
config: x86_64-randconfig-x012-201630 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/tty/serial/8250/8250_core.c: In function 's8250_options':
>> drivers/tty/serial/8250/8250_core.c:1250:43: error: macro "module_param_cb" requires 4 arguments, but only 3 given
module_param_cb(force_polling, uint, 0644);
^
>> drivers/tty/serial/8250/8250_core.c:1250:2: error: 'module_param_cb' undeclared (first use in this function)
module_param_cb(force_polling, uint, 0644);
^~~~~~~~~~~~~~~
drivers/tty/serial/8250/8250_core.c:1250:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/module_param_cb +1250 drivers/tty/serial/8250/8250_core.c

1244 #undef MODULE_PARAM_PREFIX
1245 #define MODULE_PARAM_PREFIX "8250_core."
1246
1247 module_param_cb(share_irqs, &param_ops_uint, &share_irqs, 0644);
1248 module_param_cb(nr_uarts, &param_ops_uint, &nr_uarts, 0644);
1249 module_param_cb(skip_txen_test, &param_ops_uint, &skip_txen_test, 0644);
> 1250 module_param_cb(force_polling, uint, 0644);
1251 #ifdef CONFIG_SERIAL_8250_RSA
1252 __module_param_call(MODULE_PARAM_PREFIX, probe_rsa,
1253 &param_array_ops, .arr = &__param_arr_probe_rsa,

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data