Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

From: kbuild test robot
Date: Wed Jan 11 2017 - 08:33:40 EST


Hi Manuel,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc3 next-20170111]
[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/Manuel-Sch-lling/console-Add-persistent-scrollback-buffers-for-all-VGA-consoles/20170111-203640
config: i386-randconfig-x018-201702 (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 >>):

In file included from include/linux/module.h:18:0,
from drivers/video/console/vgacon.c:36:
drivers/video/console/vgacon.c: In function '__check_scrollback_persistent':
>> drivers/video/console/vgacon.c:1423:43: error: 'scrollback_persistent' undeclared (first use in this function)
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^
include/linux/moduleparam.h:344:68: note: in definition of macro '__param_check'
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:146:2: note: in expansion of macro 'param_check_bool'
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
>> drivers/video/console/vgacon.c:1423:1: note: in expansion of macro 'module_param_named'
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^~~~~~~~~~~~~~~~~~
drivers/video/console/vgacon.c:1423:43: note: each undeclared identifier is reported only once for each function it appears in
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^
include/linux/moduleparam.h:344:68: note: in definition of macro '__param_check'
static inline type __always_unused *__check_##name(void) { return(p); }
^
include/linux/moduleparam.h:146:2: note: in expansion of macro 'param_check_bool'
param_check_##type(name, &(value)); \
^~~~~~~~~~~~
>> drivers/video/console/vgacon.c:1423:1: note: in expansion of macro 'module_param_named'
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^~~~~~~~~~~~~~~~~~
drivers/video/console/vgacon.c: At top level:
>> drivers/video/console/vgacon.c:1423:43: error: 'scrollback_persistent' undeclared here (not in a function)
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^
include/linux/moduleparam.h:225:54: note: in definition of macro '__module_param_call'
VERIFY_OCTAL_PERMISSIONS(perm), level, flags, { arg } }
^~~
include/linux/moduleparam.h:147:2: note: in expansion of macro 'module_param_cb'
module_param_cb(name, &param_ops_##type, &value, perm); \
^~~~~~~~~~~~~~~
>> drivers/video/console/vgacon.c:1423:1: note: in expansion of macro 'module_param_named'
module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
^~~~~~~~~~~~~~~~~~

vim +/scrollback_persistent +1423 drivers/video/console/vgacon.c

1417 .con_build_attr = vgacon_build_attr,
1418 .con_invert_region = vgacon_invert_region,
1419 .con_flush_scrollback = vgacon_flush_scrollback,
1420 };
1421 EXPORT_SYMBOL(vga_con);
1422
> 1423 module_param_named(scrollback_persistent, scrollback_persistent, bool, 0000);
1424 MODULE_PARM_DESC(scrollback_persistent, "Enable persistent scrollback for all vga consoles");
1425 MODULE_LICENSE("GPL");

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

Attachment: .config.gz
Description: application/gzip