lkml.org 
[lkml]   [2016]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific
Hi Josh,

[auto build test ERROR on jikos-livepatching/for-next]
[also build test ERROR on v4.8-rc3 next-20160824]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Josh-Poimboeuf/livepatch-module-make-TAINT_LIVEPATCH-module-specific/20160825-053847
base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-next
config: x86_64-kexec (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 >>):

kernel/module.c: In function 'check_modinfo':
>> kernel/module.c:2960:6: error: 'struct module' has no member named 'klp'; did you mean 'kp'?
mod->klp = true;
^~

vim +2960 kernel/module.c

2954 if (get_modinfo(info, "livepatch")) {
2955 if (!IS_ENABLED(CONFIG_LIVEPATCH)) {
2956 pr_err("%s: module is marked as livepatch module, but livepatch support is disabled\n",
2957 mod->name);
2958 return -ENOEXEC;
2959 }
> 2960 mod->klp = true;
2961 pr_warn("%s: loading livepatch module.\n", mod->name);
2962 add_taint_module(mod, TAINT_LIVEPATCH, LOCKDEP_STILL_OK);
2963 }

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-09-17 09:57    [W:1.428 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site